G
Guest
I'm working on a project to search a patient record db. I have the search
form developed and working fine but I'm a bit stuck with the fine tuning
trapping errors. The user selects from two cbo boxes, cbo1 and cbo2, the
results of these two fields builds a string which I use as the WHERE
condition when the frmResults form is opened (DoCmd.Open...). All is great
and even if the two cbo entries don't yield a match the frmResults form opens
with no records. Instead I like to be able to display a Message Box telling
the user that no records match their search criteria and then keep them in
the search form.
Appreciate any help,
Ian.
form developed and working fine but I'm a bit stuck with the fine tuning
trapping errors. The user selects from two cbo boxes, cbo1 and cbo2, the
results of these two fields builds a string which I use as the WHERE
condition when the frmResults form is opened (DoCmd.Open...). All is great
and even if the two cbo entries don't yield a match the frmResults form opens
with no records. Instead I like to be able to display a Message Box telling
the user that no records match their search criteria and then keep them in
the search form.
Appreciate any help,
Ian.