Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field content seem to be 'jumping around'
Message
From
12/11/2009 10:32:38
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01434338
Message ID:
01434404
Views:
48
>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).
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform