msgbox 
Author Message
 msgbox

How do I show a variable in the middle of a sentence in a msgbox? E.g.
"There are (some number) left."


Wed, 29 Sep 2004 07:07:02 GMT  
 msgbox
use this!

msgbox   "there are " & variablename & " left."

mike


Quote:
> How do I show a variable in the middle of a sentence in a msgbox? E.g.
> "There are (some number) left."



Wed, 29 Sep 2004 07:11:21 GMT  
 msgbox
Msgbox "There are  " & CStr(nYourVar) & " records left"

--
------------------------------------------------------------------------
George Shubin       Custom Software Development
dX Software Systems          Database Applications
Ph: 503-981-6806                     Fax: 503-982-0120

------------------------------------------------------------------------


Quote:
> How do I show a variable in the middle of a sentence in a msgbox? E.g.
> "There are (some number) left."



Thu, 30 Sep 2004 00:35:52 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. MsgBox gives a 'Permission denied: 'MsgBox'' error

2. MsgBox gives a 'Permission denied: 'MsgBox'' error

3. Q: How can I format the MsgBox text?

4. pull VB variables (report msgbox) into a query

5. manipulate text in the msgbox function

6. Close a MsgBox from code

7. MsgBox actions not working

8. Formatting text in a MsgBox

9. @ code msgbox not working

10. NewbieQ: MsgBox on Form Open

11. Refer to Me![control-name] in MsgBox

12. Display an Array in a MsgBox?

 

 
Powered by phpBB® Forum Software