Getting Text from a form

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hi,

I need some code that will get a string (entered by the user) from a form.
The code will be entered into a module.

Thanks

Michael
 
You can possibly use something like:

Dim strMyString as String
strMyString = Forms!frmMyForm!txtMyTextBox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top