I'm trying to have a form close and openen another form to indicate there are no records yet in the table.
I'm trying on the form's Form_Load :
... however this returns a run-time error 2001 "You cancelled the previous action."
I'm trying to sum the "Units Received" field from table "Inventory Transactions". If there are no entries DSum should come back true.
Help would be apprecaited...
Thanks,
mark
I'm trying on the form's Form_Load :
Code:
If IsNull(DSum("[Units Received]", "Inventory Transactions")) Then
DoCmd.OpenForm ("frmNoInventory")
DoCmd.Close
End If
... however this returns a run-time error 2001 "You cancelled the previous action."
I'm trying to sum the "Units Received" field from table "Inventory Transactions". If there are no entries DSum should come back true.
Help would be apprecaited...
Thanks,
mark