Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00603154
Message ID:
00603644
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform