G
Guest
I have some VB code that works fine when my table has records but gives an
error when my table is empty.
The form has a tabbed control which has some subforms.
When I hit the 'create new record' button', the code sets the subform
AllowEdits property to True. When there are no records, the code fails with
"You entered an expression with an invalid reference to the property
Form/Report".
How do I get around this?
error when my table is empty.
The form has a tabbed control which has some subforms.
When I hit the 'create new record' button', the code sets the subform
AllowEdits property to True. When there are no records, the code fails with
"You entered an expression with an invalid reference to the property
Form/Report".
How do I get around this?