Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field content seem to be 'jumping around'
Message
De
12/11/2009 10:32:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01434338
Message ID:
01434404
Vues:
47
>I would rather use additional query to create a reporting cursor by joining the tables and filtering out records
>

Noted sir. Will redo my code, I just thought that execution is faster than retrieving a JOIN with repeating fields.

Thanks.

Dennis



>>I am using VFP 9.0 SP1. After retrieving them (already with an ORDER BY clause), they are SET RELATIONed TO another table which was also retrieved from MySQL. The code goes something like this:
>>
>>
>>SELECT StudentRecHDR
>>
>>SET RELATION TO StudentID INTO StudentRecDTLX
>>SET SKIP TO StudentRecDTLX
>>
>>IF llAllStudents
>>   GO TOP
>>   REPORT FORM ReportCard TO PRINTER PROMPT PREVIEW
>>ELSE
>>   LOCATE FOR StudentID = lcStudentID
>>   REPORT FORM ReportCard TO PRINTER PROMPT PREVIEW ;
>>          WHILE StudentID = lcStudentID
>>ENDIF
>>
>>
>>The memo fields are in StudentRecHDR (the header table).
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform