Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

duplicate field on save

Status
Not open for further replies.

Xzibit7

Technical User
Jun 20, 2006
172
0
0
US
I have a form frmAssign that is based on a query MyAssign. Within this form is a clickable field that will open another form based on a query of the item in the clickable field. This additional form allows the user to insert additional comments on the item. The problem is when I save and close this additional form and then add additional data and save the original form I get an error that says I cannot save because it would create duplicate values in the primary field. Does anyone have any ideas on this?
 
This is crazy it gives me the error message so I can only save one of the entries but then when I go back to that item and save the other field it works and they are both under the same primary field. It's trying to save in two places before the error message and then after it saves it like it should. i am totally confused
 
So, so far I have realized that if two forms are open at the same time they cannot enter values into the same table. So it seems like I need to get something that will hold the previous information or something. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top