G
Guest
I am trying to create a form, frmProcessSalePayments, based on a table of
sales, tblSales. tblSales has a Yes/No field called PaymentRecd. The form
is based on SQL that selects table fields & filters on PaymentRecd=False.
The object is to use this form when a payment is received to update the
table. It works fine, except when there are no records in the table where
PaymentRecd=false (I used to test software, so I always try to plan for the
worst case). I have tried using If IsNull(Me.Recordset) and
IsEmpty(Me.Recordset) to trap this situation and display a MsgBox & close the
form in the OnLoad, OnOpen & OnCurrent events of the form. All I get is a
totally blank form. Any help would be greatly appreciated.
Thanks - Garry Gross
sales, tblSales. tblSales has a Yes/No field called PaymentRecd. The form
is based on SQL that selects table fields & filters on PaymentRecd=False.
The object is to use this form when a payment is received to update the
table. It works fine, except when there are no records in the table where
PaymentRecd=false (I used to test software, so I always try to plan for the
worst case). I have tried using If IsNull(Me.Recordset) and
IsEmpty(Me.Recordset) to trap this situation and display a MsgBox & close the
form in the OnLoad, OnOpen & OnCurrent events of the form. All I get is a
totally blank form. Any help would be greatly appreciated.
Thanks - Garry Gross