Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll through table adding barcode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01557029
Message ID:
01557031
Vues:
56
>Something very simple I think and I'm sure I have done this before
>
>I want to scroll through a table lets call it orders table has approximately 100 records - on the form I display the record number
>
>At each record I want to clear a text box on my form and scan in a value then move onto the next record and so on
>
>How do I do this simply - can someone give me some code - I am totally confused with this one
>
>Thanks
>
>Colin
select myTable
lnLoop = 0
scan
  try
  lnLoop = m.lnLoop + 1
   loTextbox = evaluate('thisform.textbox'+ transform(m.lnLoop))
   loTextbox.value = myTable.SomeColumn
  catch to ....
  endtry
endscan
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform