can't add multiple records in subform (datasheet view)

tstuve

New Member
Joined
Apr 29, 2002
Messages
19
Thanks in advance for helping me with this:

I've been trying to get a subform in datasheet view to
add records to a query. I've got a subcategory combobox
(unbound)which allows the user to select a product
subcategory. A product description combobox is then
populated by all the products in the selected
subcategory.

Here's the problem:

the comboboxes populate just fine and can be selected,
but as soon as I select a product description, another
row is added with the same subcategory as the first. If I
change either subcategory combobox, both of them change
to the same thing. In short, I cannot add multiple
products. I've recreated the subform several times,
amongst many other things. My forehead is now permanently waffled from
banging it on the keyboard!

Thanks again for any help/direction
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I finally got it. The trouble was with a join in the query. I took the subcategory combo out of the datasheet design and put it off to the side. Everything worked fine then.
 
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,327
Members
451,697
Latest member
pedroDH

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