Hi
I have a subform, within a form, I am using it to enter new items into a table (called items as it goes).
I have got an append query, using SQL, that is correctly adding the information entered into the subform, but in the main form, I have 2 combo boxes (pulling data via SQL query code), one to click the customer (from tblCustomers) and the other to select an auction date (from tblAuctionDates).
Can anyone help me with the VBA code please, to make sure these 2 combo boxes are added back to the items table as well, please?
I have a button (save) called cmdSave, and this is only saving the item details
In the subform, itemID is an auto number, Item description and price, all save back fine to the tblItems, but on the main form, they select the customer, and then the date, and I want it all to save back together, but the customer name and auction date are just blank.
Be so greatful, thanks so much
Clair
if this helps, here is my code for the cmdSave:
Private Sub cmdSave_Click()
On Error GoTo Err_cmdSave_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_cmdSave_Click:
Exit Sub
Err_cmdSave_Click:
MsgBox Err.Description
Resume Exit_cmdSave_Click
End Sub