I have a table of organizations (tblPartners), each with a unique ID (PCode).
IN another table I have a list of projects (tblProjects) that these organizations are involved with (in various combinations), and a field in that table which lists the various PCodes of the participating organizations. These codes are kept in a text string, each separated by a semicolon. The field is named (ProjectPartners)
I want to place a button on a form based on tblPartners that will search tblProjects and return the subset of Project records that have the appropriate PCode embedded somewhere in that text string.
I can conceive of a big ugly programming statement that might accomplish this, but I am hoping that Access offers some easier solution. I note that in queries one can ask for a value embedded in a string, for example.
All advice much appreciated.
Bob
IN another table I have a list of projects (tblProjects) that these organizations are involved with (in various combinations), and a field in that table which lists the various PCodes of the participating organizations. These codes are kept in a text string, each separated by a semicolon. The field is named (ProjectPartners)
I want to place a button on a form based on tblPartners that will search tblProjects and return the subset of Project records that have the appropriate PCode embedded somewhere in that text string.
I can conceive of a big ugly programming statement that might accomplish this, but I am hoping that Access offers some easier solution. I note that in queries one can ask for a value embedded in a string, for example.
All advice much appreciated.
Bob