Form - command button

M

mike

Hi All,

I'm trying to build a command button that takes the
text/value insides the text box and do a search. When I
click the "search" command button, it graps the value from
the textbox and search for the data base on the
value. The result will be show in a dailog box where I can
highlight the result. But I just need to know how do I
program the command button to grap the text/value from a
text box.
Any suggestion??

Thanks,
 
D

Dan Artuso

Hi,
I'm not sure exactly what you're asking.
The value from a text box can be had by:
Me.nameOfYourControl

What you do with the value is whole other story.
One thing you can do is pass the value to a query.
 

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

Top