From: Portfolio Man Portfolio on 17 Apr 2010 10:21 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?
From: Ken Snell on 17 Apr 2010 12:10 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 Man(a)discussions.microsoft.com> wrote in message news:3E5C4A52-1823-4768-A5F4-999E030098D1(a)microsoft.com... >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?
|
Pages: 1 Prev: MS Access Themes not displaying on some Computers Next: Relationship diagram |