Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Field Content from More Than 1 Table
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00507073
Message ID:
00507388
Views:
9
>Is it possible to use fields from more than 1 table in a report? TIA, Chuck


Yes. Just preceed the field name with the table name, such as:

MyTable.MyField

The report writer assumes that if no table preceeds the field, that it comes from the currently selected table. So by using a specific table reference, you override where the field comes from.

FYI, you can use this anywhere, not just field names you are printing. For example, you can use this in Grouping and expressions and Print When logic and so on.

Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform