Bullman2000_uk
Registered User.
- Local time
- Today, 18:49
- Joined
- Jun 6, 2007
- Messages
- 17
I have a supplier search query set-up where you can enter part of the supplier name and it will return all matches. This criteria is set-up as
Like "*"&[Enter Supplier Name]&"*"
I have on a supplier search form a text box (me.text2) where you enter in the part of the supplier name and click on a button to open the datasheet form returning all the entries. I want it to feed that field into the [Enter Supplier Name] section of the query to complete the search. Can anyone advise me of the VBA code that I will need to enter in for the button, I have tried several things but can't get it to work.
Can you help
Cheers
Like "*"&[Enter Supplier Name]&"*"
I have on a supplier search form a text box (me.text2) where you enter in the part of the supplier name and click on a button to open the datasheet form returning all the entries. I want it to feed that field into the [Enter Supplier Name] section of the query to complete the search. Can anyone advise me of the VBA code that I will need to enter in for the button, I have tried several things but can't get it to work.
Can you help
Cheers