Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating an index to a report
Message
 
 
À
01/12/2004 14:05:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
00966157
Message ID:
00966172
Vues:
9
This message has been marked as the solution to the initial question of the thread.
Don,

You can put a call to a udf in the ON ENTRY:
MyOnEntryUDF()
The UDF could log the current recno()/pk value along with the current _pageno value into your index cursor. Just make sure you restore workareas if you muck around with them in the udf.

>I have a report that produces one or more pages per record. I'd like to create an index for this report. In order to do this I need to capture the page number that each record begins on. Is there a way to do this?
>
>I've thought about sending the _pageno into a separate cursor but haven't found a good way to do this. Also, I've never been able to figure out a purpose for the ON ENTRY and ON EXIT dialogs that are available for each band. Every expression I've ever tried to put in those returns an error. Can someone enlighten me as to the purpose and proper usage of those features?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform