M
Michelle
I am going nuts....
I have 3 tables the first two are combined with the following sql
code....the 3rd is basicly for a comment field that I to relate to the entier
query not just one record in the query. I have a form that uses the first
query then a command buttont that opens the "comment" form for the user to
enter comments about the entire form. I am not sure how to relate that or to
get it to show up on my reprot when it prints.
Code for 1st query...
SELECT inmtinfo.IN_CELLDRM, inmtinfo.IN_INMNUM, inmtinfo.IN_NAME,
inmtinfo.IN_BLDING, inmtinfo.IN_SECTION, tblInspection.DATE,
tblInspection.TIME, tblInspection.BARS, tblInspection.W_S,
tblInspection.A_VENTS, tblInspection.W_C_F, tblInspection.PF_C,
tblInspection.EF_C, tblInspection.CF, tblInspection.D_F_W_L,
tblInspection.B_M_F, tblInspection.STAFF
FROM inmtinfo LEFT JOIN tblInspection ON
inmtinfo.IN_INMNUM=tblInspection.IN_INMNUM
WHERE (((inmtinfo.IN_BLDING)="H") AND ((inmtinfo.IN_SECTION)=[ENTER POD]));
The comment table is
COMMID - autonum - primay key
Comment - memo
I have 3 tables the first two are combined with the following sql
code....the 3rd is basicly for a comment field that I to relate to the entier
query not just one record in the query. I have a form that uses the first
query then a command buttont that opens the "comment" form for the user to
enter comments about the entire form. I am not sure how to relate that or to
get it to show up on my reprot when it prints.
Code for 1st query...
SELECT inmtinfo.IN_CELLDRM, inmtinfo.IN_INMNUM, inmtinfo.IN_NAME,
inmtinfo.IN_BLDING, inmtinfo.IN_SECTION, tblInspection.DATE,
tblInspection.TIME, tblInspection.BARS, tblInspection.W_S,
tblInspection.A_VENTS, tblInspection.W_C_F, tblInspection.PF_C,
tblInspection.EF_C, tblInspection.CF, tblInspection.D_F_W_L,
tblInspection.B_M_F, tblInspection.STAFF
FROM inmtinfo LEFT JOIN tblInspection ON
inmtinfo.IN_INMNUM=tblInspection.IN_INMNUM
WHERE (((inmtinfo.IN_BLDING)="H") AND ((inmtinfo.IN_SECTION)=[ENTER POD]));
The comment table is
COMMID - autonum - primay key
Comment - memo