Alex, are you trying to ReDim an array that was originally declared
statically?

A static array is declared when you include a number of elements in the
original Dim statement as in:

  Dim arrMyArray(100)

Try declaring it dynamically instead as in:

  Dim arrMyArray()
  ReDim arrMyArray(100)

You should then subsequently be able to ReDim it again (only the last
dimension if multi-dimensioned) if necessary.

HTH

-----Original Message-----
From: Alex Elger [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 10:50 AM
To: ActiveServerPages
Subject: This array is fixed or temporarily locked


I am using a array that is in a loop.
On the second loop i get :

Microsoft VBScript runtime error '800a000a'

This array is fixed or temporarily locked

How do i clear an array once i have used it?
I have tried:
set strRecordArrayToday = nothing 

but to no avail
Thanks for your advance help
Alex



---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to