A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Command from Text Box



 
 
Thread Tools Display Modes
  #1  
Old October 19th, 2005, 10:23 AM
external usenet poster
 
Posts: n/a
Default Command from Text Box

Hello

I have the form with two text boxes:
cmd - where I put text: "me!desc"
desc - where I put "result"

I'd like to run a code

MsgBox "This is: " & me!cmd

How to run the code to have messagebox with "This is: result" and not "This
is: me!desc"

Thank you for solving my problem
Best regards
where cmd = me!
  #2  
Old October 19th, 2005, 11:28 AM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default Command from Text Box


MsgBox "This is: " & Me.Controls(Me.cmd.Value)

--
Brendan Reynolds


"PBigOS" wrote in message
...
Hello

I have the form with two text boxes:
cmd - where I put text: "me!desc"
desc - where I put "result"

I'd like to run a code

MsgBox "This is: " & me!cmd

How to run the code to have messagebox with "This is: result" and not
"This
is: me!desc"

Thank you for solving my problem
Best regards
where cmd = me!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking text boxes Volunteer Mom Publisher 7 November 12th, 2008 01:29 AM
Formulas dealing with text data Bagia Worksheet Functions 6 June 20th, 2005 10:29 PM
Ideas On Producing Envelopes & Labels For Data RNUSZ@OKDPS Setting Up & Running Reports 0 April 28th, 2005 03:22 PM
Access reports with a horizontal line after each record??? Bill via AccessMonster.com Setting Up & Running Reports 6 March 9th, 2005 04:51 PM
Concatenatd fields in a query for a searching form Marc Running & Setting Up Queries 8 October 19th, 2004 08:49 PM


All times are GMT +1. The time now is 08:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.