Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and report
Message
De
14/08/2004 14:54:44
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
14/08/2004 14:29:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00933367
Message ID:
00933370
Vues:
14
Hi Mohammed!

>hi all,
>i have a grid with many records,
>i want to (report form aaa preview or print) for first record ,after preview
>i want to return to the same grid with same records,to choise ex.. second record or third etc....
>any idea.
>tahnks.

You can to do this of many ways. One of these is: create one cursor with the record that you want to print, you can to use select for this. Eg.:
Select * From MyTable Where MyCod = MyCodAux Into Cursor MyCursorRepo
Other way would be, check your record and store your number, call the report (in your report in "Print When" put the condition for to print only check record, eg. MyTable.Check = .T.) and after go to the position the record.
Tip: How your form has a grid, before to call report remember of to move the focus for other control.
I hope it helps you.
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform