Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution in Menu
Message
From
15/10/2004 16:03:57
 
 
To
02/07/2001 09:11:50
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00525846
Message ID:
00951840
Views:
6
Yes you can use expressions and field names in the prompt of the menu designer. Just remember that whatever you input as the prompt will be wrapped in quotes.
My example uses the shipment number from a view field.
Input the prompt into the designer as:

Process shipment: "+ALLTRIM(V_transport.shipment)+"

Then when the menu generator wraps it in quotes the result is:

DEFINE BAR 1 OF shortcut PROMPT "Process shipment: "+ALLTRIM(V_transport.shipment)+""

There you go, no macro substitution or special menu generators required.
Thank you,
- Frank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform