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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable array declaration

Status
Not open for further replies.

KirillToronto

Programmer
Jul 8, 2008
24
0
0
CA
Hi,

I'd like to know if some knows how to have a variable name of a variable. For example I have an array that collects somethig about a customer but I dont know exactly which customer yet, thus I would like to define this artray after customer number.
so I am looking for something like this

Stringvar array {database field};


Please help. I am using CR 11
 
I don't know of a way to make the variable name variable. Ordinarily, if you wanted to associate a customer with some other field belonging to that customer, you would collect the customer field in an array, and the other field in another array. What they would have in common is their positions in their respective arrays.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top