Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Function

Status
Not open for further replies.

krispi

MIS
May 16, 2002
281
GB
Hi all.

I have used the code within faq702-1177 many times over the years, in order to create a user search form. It has been invaluable.

My problem now is that my users require the form to enable them to search, on the same form, between two dates, as well as by text variables. MyCriteria is a string, so wheras the code will allow a search for a specific date, it will not allow a search on a value > MyCriteria or < MyCriteria.

I'm no expert in SQL, and my VBA is incredibly rusty. Is there a solution to this problem which isn't immensely complicated.

Any help, as ever, greatfully received.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top