G
Guest
Using a combo box for autolookup works fine, except when the item isn't found.
I receive the error, as expected, "The text you entered isn't an item in the
list." I have a macro that returns a message that the "Record is not found".
When the item isn't found, in this case a prescription, because the
prescription number has changed, I want to 1) erase the searched value; 2)
close this form; 3) open a form to find a medication by brand name, all
without prompts or errors. I tried "SetWarnings" off, as the first line in
the macro, but this does not help.
Help would be appreciated!
Thanks in advance.
I receive the error, as expected, "The text you entered isn't an item in the
list." I have a macro that returns a message that the "Record is not found".
When the item isn't found, in this case a prescription, because the
prescription number has changed, I want to 1) erase the searched value; 2)
close this form; 3) open a form to find a medication by brand name, all
without prompts or errors. I tried "SetWarnings" off, as the first line in
the macro, but this does not help.
Help would be appreciated!
Thanks in advance.