I have also put this on a nother forum but thought I'd hopefully find an answer here as well. I have a form with a couple odf cascading comboboxes on (cmboVenue and cmboVenueRoom). I can't get them to save to the table using a very simple query:
Code:
INSERT INTO tblEvent ( VenueRoom )
VALUES (Forms![frmEvent]![cmboVenueRoom]);
It runs the query and says I can't update due to Validation rule violations. The structure of the table that the second combobox is based on is
PK VenueRoomID (autonumber)
VenueRoom (Text)
FK VenueID (number) (linked to the tblVenue that gives the output for the 1st combobox)
There are no required fields in the table and all other usual vaildation violations have been looked for. I have been told its because of the PK and I can't save it inot the tblEvent because of this. I have tried using the venueroom as the bound column in the combobox properties and changing the tblevent to a text field but this also gives the same violation. Can anyone suggest a way around this as i have been working on this for days and getting no where. It is almost the last part of the db problems I have and would be extremely grateful for any advice thanks.