Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capturing values from text boxes

Status
Not open for further replies.

datenis

Programmer
Jan 22, 2002
98
CA
how do I capture a value from the text boxes that refer to a specific field from the control source?

thanks,

D
 

if your currently in the form with the textbox then :

me.ControlName.value

Will give you the value(replace ControlName with your own name)

If your outside of your form(the form does need to be open though) then you will need the same as above but remove the me and replace with Forms!FormName This should look like this:

Forms!FormName!Controlname.Value

Depending on what you need the values for depends on what you do with these lines. Let us know if you need further help with the values.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top