Clearing Arrays revisited

Results 1 to 2 of 2

Thread: Clearing Arrays revisited

  1. #1
    Join Date
    Dec 1969

    Default Clearing Arrays revisited

    I posted this yesterday and got one response suggesting Redim but it isn&#039;t working. I have worked around this but I am trying to keep the code compact and this isn&#039;t helping. Could someone tell me if there is a way to clear arrays so the names are available:<BR>I am DIM-ing a couple of arrays at the top of the page (for use when not displaying existing data) but I want to use recordset.GetRows() to collect recordset data when displaying records. This triggers an error because the array is already DIMensioned. I have tried ERASE arrName and REDIM arrName(x,x). They don&#039;t work. How can I clear an array that has been previously DIMensioned so I can use GetRows(). Or is this possible? Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Clearing Arrays revisited

    When you DIM the variables, are you doing Dim aryTest()?<BR><BR>Try doing it without the parenthesis:<BR>Dim aryTest<BR><BR>-doug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts