TheWanderer
New member
- Local time
- Today, 13:21
- Joined
- Feb 3, 2013
- Messages
- 7
I have been searching the forum for an answer to my question, but so far haven't found it. I thought I'd just ask and hopefully someone can point me in the right direction?
I am using Access 2010.
I have a form which is basically just a text box search function. I want the user to be able to type in a document number and then a form to open displaying that record. This bit I can do. If a user types in a document number that doesn't exist then a blank form opens. What I would really like is that a message box opens saying "The document doesn't exist. Would you like to create it?" with the button Yes and No. If yes pressed, a blank form opens, if no the message box closes and nothing happens.
If you could tell me the code and where to put the code it would be much appreciated.
I am using Access 2010.
I have a form which is basically just a text box search function. I want the user to be able to type in a document number and then a form to open displaying that record. This bit I can do. If a user types in a document number that doesn't exist then a blank form opens. What I would really like is that a message box opens saying "The document doesn't exist. Would you like to create it?" with the button Yes and No. If yes pressed, a blank form opens, if no the message box closes and nothing happens.
If you could tell me the code and where to put the code it would be much appreciated.