I have a main form bound to a "Contact" table and a subform bound to an "Address" table. The subform is linked to the main form via an AddressID field where Contact.AddressID = Address.AddressID. All seems to work well, except when I have a situation where the Contact table has a null AddressID field. When I try to add an address in the subform I receive a "You tried to assign a Null value to a variable that is not a Variant data type". The AddressID field is datatype Number.
Here are some of the property values on the subform:
AllowEdits, Deletions, Additions = Yes
DefaultView = SingleForm
NavigationButtons = No
I have not used subforms very often. Any ideas?
Rene'
Here are some of the property values on the subform:
AllowEdits, Deletions, Additions = Yes
DefaultView = SingleForm
NavigationButtons = No
I have not used subforms very often. Any ideas?
Rene'