Hi, I'm having some trouble with updating the rowsource for a combobox which cascades from the one above.
It DID work but since altering relationships in the tables along the lines of what Pat recommended the combobox now no longer works.
There are 2 comboboxes on frm Product, cboCategory and cboProduct.
On from load the cboProduct shows all the records available in the product table.
cboCategory shows the categories available.
It is when I try to update the rowsource for cboProduct in the afterupdate event for cboCategory that I'm just getting a blank box.
I actually only want to display 2 fields in cboProduct, ID_Product and Details.
Debug printing the returned value from cboCategory in the afterupdate event shows the correct category is being passed to the rowsource query but I'm still getting a blank combobox.
I've attached the database for perusal, ans still very much a work in progress.
Thanks, Lol
It DID work but since altering relationships in the tables along the lines of what Pat recommended the combobox now no longer works.
There are 2 comboboxes on frm Product, cboCategory and cboProduct.
On from load the cboProduct shows all the records available in the product table.
cboCategory shows the categories available.
It is when I try to update the rowsource for cboProduct in the afterupdate event for cboCategory that I'm just getting a blank box.
I actually only want to display 2 fields in cboProduct, ID_Product and Details.
Debug printing the returned value from cboCategory in the afterupdate event shows the correct category is being passed to the rowsource query but I'm still getting a blank combobox.
I've attached the database for perusal, ans still very much a work in progress.
Thanks, Lol