I use a macro to check if a field xxx has been entered if not a message tells the operator to enter detail and sets the focus back to the empty xxx field.
This works fine sometimes but other times it returns and error stating there is no field named xxx in the current record, why would this happen?
any help appricated.
[Forms]![arrivalsnew]![BOOKREF] Is Null MsgBox
[Forms]![arrivalsnew]![BOOKREF] Is Null GoToControl
Control Name BOOKREF
This works fine sometimes but other times it returns and error stating there is no field named xxx in the current record, why would this happen?
any help appricated.
[Forms]![arrivalsnew]![BOOKREF] Is Null MsgBox
[Forms]![arrivalsnew]![BOOKREF] Is Null GoToControl
Control Name BOOKREF