Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data environment
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00603154
Message ID:
00603644
Views:
27
This message has been marked as the solution to the initial question of the thread.
>Well, the main reason is that when the user is in modify mode he can add a field to the report from report expression builder, just by clicking on field he choses to add.

If the only reason you are trying to do this is to add the fields from the resulting SQL select into the fields listed in the expression builder then here's a workaround ...

SELECT .... FROM ... INTO CURSOR MyCursor
SELECT MyCursor
SCATTER MEMVAR MEMO
MODIFY REPORT ...


By doing the SCATTER MEMVAR MEMO, the fields from the cursor end up as memory variables and will show up in the "Variables" list box in the expression builder (as opposed to the "fields" list box). But it lets the user see the fields so they can select them from the expression builder.

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