The answer to this will probably be blindingly obvious... once somebody points it out to me!
Using Access 2007, I have 3 tables:
tblResearch -- primary key ResearchID plus various other fields
tblTags -- primary key TagID plus one text field Tag
tbljctResearchTags -- primary key plus two fields ResearchID and TagID, creating a many-to-many relationship between ResearchID that allows each Research entry to have zero one or many Tags associated with it.
(All tags can similarly be associated with entries in a number of other tables.)
I have a form frmResearch (based on qryResearch that outputs all the fields in tblResearch) displaying the data for a single entry at a time from the Research table, including a concatenated list of the Tags associated with that entry.
To update the Tags for an entry, I have a command button that opens subfrmResearchTags based on tbljctResearchTags and tblTags, linked from ResearchID on frmResearch to ReseachID in subfrmResearchTags. The correct set of Tags is displayed for the current Research record but when I add or delete a Tag, ResearchID in the junction table isn't being updated correctly.
Am I trying to do something impossible, or have I just messed it up?
Using Access 2007, I have 3 tables:
tblResearch -- primary key ResearchID plus various other fields
tblTags -- primary key TagID plus one text field Tag
tbljctResearchTags -- primary key plus two fields ResearchID and TagID, creating a many-to-many relationship between ResearchID that allows each Research entry to have zero one or many Tags associated with it.
(All tags can similarly be associated with entries in a number of other tables.)
I have a form frmResearch (based on qryResearch that outputs all the fields in tblResearch) displaying the data for a single entry at a time from the Research table, including a concatenated list of the Tags associated with that entry.
To update the Tags for an entry, I have a command button that opens subfrmResearchTags based on tbljctResearchTags and tblTags, linked from ResearchID on frmResearch to ReseachID in subfrmResearchTags. The correct set of Tags is displayed for the current Research record but when I add or delete a Tag, ResearchID in the junction table isn't being updated correctly.
Am I trying to do something impossible, or have I just messed it up?