Form - command button

  • Thread starter Thread starter mike
  • Start date Start date
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,
 
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.
 
Back
Top