I'm trying to adapt Martin Green's search form code, making SQL and VBA to work together using ADO.
It's no problem when it comes to combo boxes, list boxes and exact matches, but I have been struggling for days with Like and Between. I'm not sure how to build criteria, and how to compose SQL string. My last try is zipped and attached to this post. I'm totaly exhausted from trying and this is the first time ever I couldn't solve my problem by reading other people posts and solved examples. I wouldn't bother you without trying to do it on my own first.
Database has FE and BE, made in Access 2007. I stripped all unnecessary objects from FE, leaving only one form and queries involved in problem.
It is list of Croatian newspapers. I need to make it user friendly for colleagues who doesn't know how to build queries.They need to enter parameters by which they will choose newspapers to send email notifications about our activities.
Translation of fields:
Županija – district
Specijalnost medija – media specialty
Utjecaj medija – media influence
Naziv medija – media name
Naklada, min and max – print copies, min and max
Thank you very, very much in advance for your help, because if this will be solved I will have my first vacation ever without telephone calls from work every two days
It's no problem when it comes to combo boxes, list boxes and exact matches, but I have been struggling for days with Like and Between. I'm not sure how to build criteria, and how to compose SQL string. My last try is zipped and attached to this post. I'm totaly exhausted from trying and this is the first time ever I couldn't solve my problem by reading other people posts and solved examples. I wouldn't bother you without trying to do it on my own first.
Database has FE and BE, made in Access 2007. I stripped all unnecessary objects from FE, leaving only one form and queries involved in problem.
It is list of Croatian newspapers. I need to make it user friendly for colleagues who doesn't know how to build queries.They need to enter parameters by which they will choose newspapers to send email notifications about our activities.
Translation of fields:
Županija – district
Specijalnost medija – media specialty
Utjecaj medija – media influence
Naziv medija – media name
Naklada, min and max – print copies, min and max
Thank you very, very much in advance for your help, because if this will be solved I will have my first vacation ever without telephone calls from work every two days