Hi,
I've search the forum, and didn't see this question asked, but I might not be searching for the right criteria.
Here is what I have.
I have a form where the user can enter a user ID, and when they hit submit it will search our user table.
Here is what I want it to do next, if it finds the user ID I want it to open the main entry form so they can enter data for this user.
If it doesn't find the user, I want it to open the 'add new user' form so they can add this user.
I have all my forms, and have my query to search done. I'm just not sure how to make it open the right form depending on the query results?
I'm guessing on the main search form, I'll need some sort of If/Else type code?
I've search the forum, and didn't see this question asked, but I might not be searching for the right criteria.
Here is what I have.
I have a form where the user can enter a user ID, and when they hit submit it will search our user table.
Here is what I want it to do next, if it finds the user ID I want it to open the main entry form so they can enter data for this user.
If it doesn't find the user, I want it to open the 'add new user' form so they can add this user.
I have all my forms, and have my query to search done. I'm just not sure how to make it open the right form depending on the query results?
I'm guessing on the main search form, I'll need some sort of If/Else type code?