Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 Tables Report
Message
De
24/09/2010 06:03:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/09/2010 01:37:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Divers
Thread ID:
01482520
Message ID:
01482536
Vues:
73
>If I combine records in one cursor then how to design report to print one record in first half of paper and the other on second half of paper?
>
>You can look the pattern an attachment which i need.

In such cases, I added an additional field to the combined table, which I called "Origin" (i.e., "where do the data come from"). In the report, create a group on this field.

Adapting Naomi's commands:
select "1" as origin, * from Table1 ;
UNION ALL ;
select "2" as origin, * from Table2 ;
ORDER BY 1, 2 ;
into cursor csrReport NOFILTER
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform