I am setting up a message taking system and have a qyuery behind a form where all the messages for a particular person are listed.
However, if there are no messages (records) for that person then the form opens up and is blank. Is there any way I can put in an IF statement saying - if form (or query) is blank then do not open form but display message box saying "There are no messages for this person".
I hope this makes sense, I am really struggling with the syntaxfor this one.
Thanks
However, if there are no messages (records) for that person then the form opens up and is blank. Is there any way I can put in an IF statement saying - if form (or query) is blank then do not open form but display message box saying "There are no messages for this person".
I hope this makes sense, I am really struggling with the syntaxfor this one.
Thanks