If it is an array declared like this:

Dim ary(4)

then it is a fixed array.

Show code.

Are you trying to reset the values to empty?

  Erase myAry

sets all values to Empty

David L. Penton, Microsoft MVP
JCPenney Application Specialist / Lead
"Mathematics is music for the mind, and Music is Mathematics for the
Soul. - J.S. Bach"
[EMAIL PROTECTED]

Do you have the VBScript Docs or SQL BOL installed?  If not, why not?
VBScript Docs: http://www.davidpenton.com/vbscript
SQL BOL: http://www.davidpenton.com/sqlbol


-----Original Message-----
From: Alex Elger [mailto:[EMAIL PROTECTED]]

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 PROTECTED]

Reply via email to