|
-
Nov 27th, 2000, 10:56 AM
#1
Thread Starter
Member
Hi,
I'm using a 2 dimention array and need to redim it which works fine with the statement below:
Code:
ReDim sa_tableKeys(UBound(sa_tableKeys) + 1, 2) As String
But as soon as I put "preserve" after ReDim, to preserve the information already stored within the array, I get an error. What am I doing wrong?
-
Nov 27th, 2000, 11:05 AM
#2
You can only redim the last dimension of a multidimensional array.
Paul
-
Nov 27th, 2000, 11:05 AM
#3
Lively Member
check ur MSDN Redim preserve it says u cannot use the code
-
Nov 27th, 2000, 11:23 AM
#4
Thread Starter
Member
Thank you PWNetle, that was exaclty my mistake!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|