Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to hide detail band in Report?
Message
De
18/05/2006 07:01:16
 
 
À
18/05/2006 05:32:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Divers
Thread ID:
01123114
Message ID:
01123133
Vues:
26
Liew

How do you select the data for the report? If you select certain fields from a table, based on the user's selection, then you can provide the data for the report as an SQL cursor.

In the report, in each of the fields's options, ensure you don't include the table name. e.g. Mytable.StudentName would just be StudentName. Thus the report doesn't care from what tableit gets the field - the original or the cursor from it.

Now, if you've ommitted any fields in your SQL query, they simply won't appear on the report.

HTH

Terry

>In my report, I have few detail bands for some fields from different tables and some of them are optional. Before the report is generated, user can select the tables to be shown. As a result, those detail band(table) which is not selected will be hidden in the report, how could I do so?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform