Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Collection Object with report
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01017295
Message ID:
01017302
Vues:
26
Marcel,

The FoxPro reports work of the cursor/table only and print one detail record per one record in the current alias. If you want to print one time and not from a cursor, create a tem cursor with one record and make it current before running a report.

>I have a ReportBizObj that is instantiated in the MyReport Click Event on MyForm.
>In this ReportBizObj after setting up a FieldValueCollectionObject property and some other properties I call ReportBizObj.Get()
>
>There I have the following code
>
<snip>
>
>After this I call:
>REPORT FORM WindShieldSticker.frx PREVIEW
>
>In the report I tested with just one field retrieving a value from the Collection of Field Values:
>
>this.FieldValueCol.item('RepairOrderNumber')
>
>
>(sorry for the lengthy setup)
>
>Questions
>Why would it try to print this value 13 times? I did notice that the lookuptable where I use the locate commands contains 13 values in it. Am I putting a loop in it inadvertantly? I can't find it.
>
>Also, is this an entirely retarded way of doing things?
>
>Thanks
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform