emshim
09-11-2007, 02:09 AM
Hi,
I have had a look at quite a few threads, but cannot find what i need. I am looking to show a command button if the value typed into the text box equals one of the values in the query. I understand how to show/hide a command button due to another post, but it is getting this to happen IF the text box matches one or more of the values in the query.
I have txtCustNo as the text box to type a number into
I have qryCustNo as the query name
i have cmdFindCust as command button
Should i have the code under the "after update" part of the text box also?
Thanks for your time,
Emily
I have had a look at quite a few threads, but cannot find what i need. I am looking to show a command button if the value typed into the text box equals one of the values in the query. I understand how to show/hide a command button due to another post, but it is getting this to happen IF the text box matches one or more of the values in the query.
I have txtCustNo as the text box to type a number into
I have qryCustNo as the query name
i have cmdFindCust as command button
Should i have the code under the "after update" part of the text box also?
Thanks for your time,
Emily