|
-
December 3rd, 1999, 02:41 PM
#1
VBScript
What is the syntax for performing an inline variable substitution using VBScript?
I want to either dim an array or redim a dynamic array based on a calculated value; however,
I always receive an error stating "expected integer constant".
The syntax I am using is as follows:
int_num_rows = RS("Count")
dim array(int_num_rows)
-or-
dim array()
int_num_rows = RS("Count")
redim array(int_num_rows)
Is there someway this is possible to accomplish?
Any help is greatly appreciated. Thanks.
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
|