Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox()
Message
From
22/10/2011 11:37:48
 
 
To
22/10/2011 11:19:06
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01527096
Message ID:
01527100
Views:
95
>Is it possible to include a variable to a messagebox?
>Thanks

Sure,
You just make sure that this variable is properly casted to string:
VarNum = 123.45
VarStr = "Some Text"
varDate = DATE()

MessageBox(VarStr+[  ]      +;
           STR(VarNum,14,2) +;
           DTOC(varDate)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform