May 22, 2002 #1 sthmpsn1 MIS Joined Sep 26, 2001 Messages 456 Location US I need to store the number of elements my array has in another variable. How would I write this?
May 22, 2002 #2 megalene Programmer Joined Jan 4, 2001 Messages 31 dim arrayNum arrayNum = ubound(yourArrayName) Upvote 0 Downvote
May 22, 2002 #3 foxbox Programmer Joined Sep 11, 2000 Messages 1,052 Location NL dim Test(3) Response.Write ubound(test) displays: 3 br Gerard Upvote 0 Downvote
May 22, 2002 #4 JohnYingling Programmer Joined Mar 24, 2001 Messages 3,742 Location US dim arrayNum arrayNum = 1 + ubound(yourArrayName) http://www.VBResizer.com Generate Forms/Controls Resizing/Tabbing Class http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript Upvote 0 Downvote
dim arrayNum arrayNum = 1 + ubound(yourArrayName) http://www.VBResizer.com Generate Forms/Controls Resizing/Tabbing Class http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript