Good afternoon ;
I have 2 tables:
FatherTable and ChildTable. related by a field one to many.
Records in FatherTable may or may not have child records in ChildTable. (That is possible and logical isn' it?)
I Have the Father data shown in a Form "FatherForm".
I Have the Child Data shown in a Pop Up Form "ChildForm", that appears when the FatherCode control on the FatherForm is clicked
When the FatherTable HAS Child Records in ChildTAble every thing works fine.
BUT when the FatherTable HAS NOT Child records in ChildTable I get the Access Message "Index or primary key cannot contain a null value" and the tables lose sinchronization: trying to select another FatherCode is no possible and the message keeps appearing.
Where is the problem and how can it be solved ?
Thanks for any help from any body
omontesg
I have 2 tables:
FatherTable and ChildTable. related by a field one to many.
Records in FatherTable may or may not have child records in ChildTable. (That is possible and logical isn' it?)
I Have the Father data shown in a Form "FatherForm".
I Have the Child Data shown in a Pop Up Form "ChildForm", that appears when the FatherCode control on the FatherForm is clicked
When the FatherTable HAS Child Records in ChildTAble every thing works fine.
BUT when the FatherTable HAS NOT Child records in ChildTable I get the Access Message "Index or primary key cannot contain a null value" and the tables lose sinchronization: trying to select another FatherCode is no possible and the message keeps appearing.
Where is the problem and how can it be solved ?
Thanks for any help from any body
omontesg