SUBFORM ?

billmush

New Member
Joined
Jun 19, 2003
Messages
13
I created a database form with subform the subform record I have being controlled by the main form. It was working fine until recently.
now I get a message anytime I try to enter information in subform

the changes you made to the table were not successfull because they would create duplicate values in the index, Primary key, or Relationship. Change data in the field or fields that contain duplicate data, remove the index, or redefine index to allow dupicate entrys and try again.

the relationship between the two forms is the serial # field. which is not displayed by the subform (Hidden) I feel I'm overlooking something in the properties of the subform, table of the subform or the Query. I'm not sure

any help would be great or even pointing me in the right direction.

thanks in advance
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
In the index property of the ID on the Subform Table needed to be changed to YES (allowDuplicate Records) and no primary key selected.

This fixed the problem
 
Upvote 0

Forum statistics

Threads
1,221,558
Messages
6,160,485
Members
451,651
Latest member
Penapensil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top