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 biv343 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 previously posted this thread on the Forms forum, but to no avail, so apologies to anyone who is reading this for the second time.

I have used the code within FAQ702-1177: Search multiple fields simultaneously and set form to record found 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