Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open form - Display Message Box when form is empty

Status
Not open for further replies.

meagain

MIS
Nov 27, 2001
112
CA
Hi All,

We have a form based on a query. On opening the form, we'd like to display a message box "Nothing to Approve" instead of the form, when the form has nothing to display. How can we accomplish this? MS Access 2002 is in play, and the form's name is "F-Web_approval".

Thank you for your assistance in this regard.
LP
 
I would attempt to check the query to see if it returns any records. If not, then display MsgBox("Nothing to Appprove"). If there are records then open the form.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top