I am getting error message while entering data using a sub form. Here are the details of the tables associated with this form. Basically I am trying to enter expense data.
tblECHO has these fields
tblMTAP
tblSPAP
The main form is based on tblECHO which has a two-page sub form that is based on tblMTAP and tblSPAP. As I enter data for expenses I am getting an error message
Primary Key or indexed field cannot contain a null value….
Well, I find out that as data is entered it’s updating all the primary keys except for MTAPID and SPAPID
Both the tables are related to tblECHO (join type 1, one – to – many). What can be wrong? How do I fix it?
Thanks for your help.
tblECHO has these fields
Code:
ECHOID – Pk (auto) EchoNo – Text SubmitDate – Date/Time ReceiveDt – Date/ Time
Code:
MTAPID – PK (auto) VendorID – Number AccountID – Number GrantFundID – Number GrantID – Text ProjectID – Number MTAPAmount – Currency
Code:
SPAPID – PK (auto) VendorID – Number AccountID – Number GrantFundID – Number GrantID – Text ProjectID – Number SPAPAmount – Currency
Primary Key or indexed field cannot contain a null value….
Well, I find out that as data is entered it’s updating all the primary keys except for MTAPID and SPAPID
Both the tables are related to tblECHO (join type 1, one – to – many). What can be wrong? How do I fix it?
Thanks for your help.
Comment