Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution in Menu
Message
From
16/10/2004 09:49:06
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
15/10/2004 16:03:57
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00525846
Message ID:
00951942
Views:
6
Frank, I appreciate your answer, but my post is over 3 years old and I already received a solution. You must have a lot of catching up to do... <g>

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform