General information
Category:
Coding, syntax & commands
Title:
Incrementing an array
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only