I want to add a feature to my query where if the record does not exist based on a field, it will inform the user and then try on another field. If both values do not exist then it will open a form to add the information.
Basically, I have a button that before it opens the form, it runs a query to search for a record. Even if the record does not exist,
it will open the form and will be blank. If there is a record, it will display that data. I want to add a feature where if the record
does not exist, to inform the user and try again based on another field from the same table. If neither entries exist, or the fields
contain a null value to display a msg to such effect and open a form to where the user can add the data.
I want to do the same for a table with user/employee information, where they would search on last name.
Basically, I have a button that before it opens the form, it runs a query to search for a record. Even if the record does not exist,
it will open the form and will be blank. If there is a record, it will display that data. I want to add a feature where if the record
does not exist, to inform the user and try again based on another field from the same table. If neither entries exist, or the fields
contain a null value to display a msg to such effect and open a form to where the user can add the data.
I want to do the same for a table with user/employee information, where they would search on last name.
Last edited: