G
Guest
I am posting my problem again because I did not get an answer yet and it has
been a few days. I read often that you do not like multi postings but I
still have not solved my problem. So thanks for your patience.
I have a subform that is linked to the main form by an aggregate chain
number. The subform is based on a query of 2 tables (history Table and
Account # Table) joined by the chain number also.
When I try to enter information in the subform, I get an error message
saying that the index or primary key cannot have a null value and my
information is never entered. At first the chain # field is blank, but after
I start to insert text it popluates itself. The problem must be that I am
not actually updating the History table with that chain number. Should I
have a event procedure for this problem? Maybe an "on load" event?? If so
please tell me how to right the code for it. I am new to Access and my
knowledge is very basic.
Thanks.
been a few days. I read often that you do not like multi postings but I
still have not solved my problem. So thanks for your patience.
I have a subform that is linked to the main form by an aggregate chain
number. The subform is based on a query of 2 tables (history Table and
Account # Table) joined by the chain number also.
When I try to enter information in the subform, I get an error message
saying that the index or primary key cannot have a null value and my
information is never entered. At first the chain # field is blank, but after
I start to insert text it popluates itself. The problem must be that I am
not actually updating the History table with that chain number. Should I
have a event procedure for this problem? Maybe an "on load" event?? If so
please tell me how to right the code for it. I am new to Access and my
knowledge is very basic.
Thanks.