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

How can I use array to load specific records?

Status
Not open for further replies.

professionals

Programmer
Jun 24, 2000
13
AE
How I can load the specific records into an array variables for unlimited as long memory does.

professional
 
Yes, remember the limitations.

Here are some ways to load array items.

SELECT field1, field2 from mytable into array laMyarray

OR

DECLARE laMyarry[10,2]
lni = 0
SCAN
lni = lni + 1
laMayArray[lni,1] = field1
laMayArray[lni,2] = field2
ENDSCAN





Jim Osieczonek
Delta Business Group, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top