If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
access 2003 no query results for a form
I am new to access and self and manual taught. I have created a query in
support of a form with two criteria that is working well. I would like to have a message appear if there is no information. Currently the form displays just the background. Is there an easy way perhaps using an Event Procedure? |
#2
|
|||
|
|||
access 2003 no query results for a form
In the form's Load event procedure, you can use this code to pop up a
message box: Private Sub Form_Load() If Me.Recordset.RecordCount = 0 Then _ MsgBox("No Records!") End Sub -- Ken Snell http://www.accessmvp.com/KDSnell/ "Portfolio Man" Portfolio wrote in message ... I am new to access and self and manual taught. I have created a query in support of a form with two criteria that is working well. I would like to have a message appear if there is no information. Currently the form displays just the background. Is there an easy way perhaps using an Event Procedure? |
Thread Tools | |
Display Modes | |
|
|