Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide detail band in Report?
Message
From
18/05/2006 07:01:16
 
 
To
18/05/2006 05:32:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Miscellaneous
Thread ID:
01123114
Message ID:
01123133
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform