Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I enter a null value into an array?

Status
Not open for further replies.

striker73

MIS
Jun 7, 2001
376
US
I have been trying to use an array to hold temporary variables, but sometimes the variables are null and my array doesn't seem to like this. Any ideas on a work around? Thanks!
 
I guess I could check to see if the value is null and then enter a space in the array.
 
A variant should accept a NULL value. Or, you can do something like...

MyArray(1433) = Nz(rc.Fields(0),"")

Gary
gwinn7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top