Subform to main form issue

Kutrenia

New Member
Joined
Dec 31, 2009
Messages
17
I have a database with the main form titled "Orders" and a subform titled "Orders Subform". They are related through the OrderID on both forms. However, every time I add a new record to the subform it creates a new main form. I don't need 10 duplicate orders because someone ordered 10 items. This is driving me batty! If anyone has any suggestions, it would be greatly appreciated.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
It sounds as if your Parent and Child relationships (when inking the forms) are backwards. How do you have your forms linked?
 
Upvote 0
Child Field: [Orders subform].OrderID
Master Field: Orders.OrderID
If I switch them around it doesn't recognize the [Orders subform].OrderID
 
Upvote 0

Forum statistics

Threads
1,215,701
Messages
6,126,289
Members
449,308
Latest member
VerifiedBleachersAttendee

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