TomDuCrosbie
Technical User
Ok, this is probably pretty simple, but i need a fresh perspective on it.
My form has 4 tabs 1st is customer profile, 2nd contacts, 3rd accts, 4th, competition accts. The subforms on the 2-4 tabs are bound to their own tables. They are all related by ClientID.
Here's the problem: A user enters in the customer profile then moves to a different tab to enter in additonal information. The user now gets an error something to the effect of the data will be saved to the data base but can't be shown because it does't satisfy the critera of the underlying record set. The user has to close the form then bring it back up in order to compleete filling out their info. In effect, the data isn't being writen to the table untill the form is closed.
I know what you are thinking Me.Requery I tried that it doesn't work. The form has to close befor the data is writen.
The save record command doesn't work either.
I did find that access project and SQL dont like autonumber (identity) fields. so I changed it to programaticly assign a unique id using DMAX.
If you have any thought on how to get the data to write to the table without closing the form, please don't be shy. If you need more info about forms, tables, etc. let me know. I'll provide what you need.
Tom
My form has 4 tabs 1st is customer profile, 2nd contacts, 3rd accts, 4th, competition accts. The subforms on the 2-4 tabs are bound to their own tables. They are all related by ClientID.
Here's the problem: A user enters in the customer profile then moves to a different tab to enter in additonal information. The user now gets an error something to the effect of the data will be saved to the data base but can't be shown because it does't satisfy the critera of the underlying record set. The user has to close the form then bring it back up in order to compleete filling out their info. In effect, the data isn't being writen to the table untill the form is closed.
I know what you are thinking Me.Requery I tried that it doesn't work. The form has to close befor the data is writen.
The save record command doesn't work either.
I did find that access project and SQL dont like autonumber (identity) fields. so I changed it to programaticly assign a unique id using DMAX.
If you have any thought on how to get the data to write to the table without closing the form, please don't be shy. If you need more info about forms, tables, etc. let me know. I'll provide what you need.
Tom