Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get recno() of running report
Message
 
 
À
31/08/2012 14:11:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01552160
Message ID:
01552177
Vues:
45
>>When running a report, I would like to figure out which record number the current page is in the underlying cursor, if that is possible.
>>I have a reference to the Extension handler, and the previewform. During the preview, whichever page I have selected, the cursor is at the last record. Is there a reference somewhere where I can figure out which page relates to which record number? It's a report with header and details, so pagenumber is not recno() in that case.
>
>You could put a field with RECNO( "YourCursor" ) in the page footer. ISTR doing something like that a few times for report debugging purposes.

I would see the record number on the report, but is there a way I can refer to it in code during the preview? I have a method on the previewform that would display information about the current record corresponding to the current page.
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform