J
Jim Shaw
BlankHow do I define a 0:M relationship between two tables?
I have a reference table: "tblProfessions"
I have a table of interest: "tblJobs" with a foreign key to tblProfessions
(Indexed, dups OK, NULLs allowed)
The Business Rules are:
"All jobs are defined in tblJobs" (about 200 of them now)
"All Professions are defined in tblProfessions" (only 5 professions so
far)
"Jobs may, or may not, have a related profession"
"For any given job, their having, or not having, a profession can change
over time"
"A Profession is a job where practitioners are controlled and licensed
by an outside organization
e.g., Registered Nurses vs Janitor"
In this context, I'm working with a query joining tblJobs & tblProfessions
in my form.
I need an underlying query that returns all jobs with the Profession data if
present (Outer Join)
and allows me to update the profession FK in the current Job record. (e.g.;
Janitors become licensed by the state)
How do you all handle this situation?
Thanks
Jim
I have a reference table: "tblProfessions"
I have a table of interest: "tblJobs" with a foreign key to tblProfessions
(Indexed, dups OK, NULLs allowed)
The Business Rules are:
"All jobs are defined in tblJobs" (about 200 of them now)
"All Professions are defined in tblProfessions" (only 5 professions so
far)
"Jobs may, or may not, have a related profession"
"For any given job, their having, or not having, a profession can change
over time"
"A Profession is a job where practitioners are controlled and licensed
by an outside organization
e.g., Registered Nurses vs Janitor"
In this context, I'm working with a query joining tblJobs & tblProfessions
in my form.
I need an underlying query that returns all jobs with the Profession data if
present (Outer Join)
and allows me to update the profession FK in the current Job record. (e.g.;
Janitors become licensed by the state)
How do you all handle this situation?
Thanks
Jim