Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incrementing an array
Message
De
06/07/2000 19:54:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Incrementing an array
Divers
Thread ID:
00389259
Message ID:
00389259
Vues:
46
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform