2
2Blessed4Stress
I'm an amature programmer so please be very basic. I have code in a form on
the "on open" event to give a message if no results are present.
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "THERE ARE NO RESULTS FOR YOUR SEARCH." _
, vbInformation, "No Records"
Cancel = True
End If
This works fine but I need to run a macro (mc_DescATW GROUPEQP.New Search)
after the user hits "ok" from the error message. Can someone please tell me
what to do?
the "on open" event to give a message if no results are present.
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "THERE ARE NO RESULTS FOR YOUR SEARCH." _
, vbInformation, "No Records"
Cancel = True
End If
This works fine but I need to run a macro (mc_DescATW GROUPEQP.New Search)
after the user hits "ok" from the error message. Can someone please tell me
what to do?