Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incrementing an array
Message
From
06/07/2000 19:54:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Incrementing an array
Miscellaneous
Thread ID:
00389259
Message ID:
00389259
Views:
45
I'm trying to use scatter to copy 1 field data from a cursor that the user can move the record pointer in with a grid to differnt records. Then hit a button and scatter that record into an array.
in the load of the form I have
public array redata(20,1)
public inc
inc=1

in the click of a command button I have
select ticketdata
scatter fields ticket to redata[inc,1]
thisform.list1.refresh()
inc = inc + 1
then I have a list box thats record source is set to redata
I only get the first number in my list box after that I can't get the array to increment to the next element. If I check the debugger I only see the first element of the array with the first ticket number.

Thanks
Kelly
Next
Reply
Map
View

Click here to load this message in the networking platform