Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report from more than one dbf
Message
From
14/05/2007 15:59:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225324
Message ID:
01225366
Views:
26
>Edward thanks for your quick reply.

I do that too, and recommend it: combine everything into a single cursor.

Typically, this may be done with a single SQL - SELECT command, or with several. Sometimes, a series of SQL - SELECT commands are convenient; in other, more complicated, cases, some loop may have to be written. But for many reports, a series of SQL - SELECT commands is sufficient. (I found that even if you can use a single SQL - SELECT command to combine 10 tables, performance is much, much faster if it is separated into several commands: the result of the first two tables is combined with the third table, etc.)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform