M
Michelle
I have the follwoing query and it is used in a form to input data, the
problem is that once you put data in the ESSLog table when you open the query
back up it does not show the related info from the inmtinfo table.
Basicly what i am trying to do is once a day they have to fill this form
out, the next day it should still pull all of the data from the inmtinfo file
that meets the "H" and Pod that is entered with the rest of the fields being
blank...
I guess it would be if the Date does not match "today" then return all.
SELECT inmtinfo.IN_INMNUM, inmtinfo.IN_NAME, inmtinfo.IN_BLDING,
inmtinfo.IN_SECTION, inmtinfo.IN_CELLDRM, tblESSLog.SEP, tblESSLog.EXERCISE,
tblESSLog.SHOWER, tblESSLog.[YARD #], tblESSLog.RAZOR, tblESSLog.SCREAM,
tblESSLog.MIRROR, tblESSLog.DATE
FROM inmtinfo LEFT JOIN tblESSLog ON inmtinfo.IN_INMNUM = tblESSLog.IN_INMNUM
WHERE (((inmtinfo.IN_BLDING)="H") AND ((inmtinfo.IN_SECTION)=[ENTER POD])
AND ((tblESSLog.DATE) Is Null));
problem is that once you put data in the ESSLog table when you open the query
back up it does not show the related info from the inmtinfo table.
Basicly what i am trying to do is once a day they have to fill this form
out, the next day it should still pull all of the data from the inmtinfo file
that meets the "H" and Pod that is entered with the rest of the fields being
blank...
I guess it would be if the Date does not match "today" then return all.
SELECT inmtinfo.IN_INMNUM, inmtinfo.IN_NAME, inmtinfo.IN_BLDING,
inmtinfo.IN_SECTION, inmtinfo.IN_CELLDRM, tblESSLog.SEP, tblESSLog.EXERCISE,
tblESSLog.SHOWER, tblESSLog.[YARD #], tblESSLog.RAZOR, tblESSLog.SCREAM,
tblESSLog.MIRROR, tblESSLog.DATE
FROM inmtinfo LEFT JOIN tblESSLog ON inmtinfo.IN_INMNUM = tblESSLog.IN_INMNUM
WHERE (((inmtinfo.IN_BLDING)="H") AND ((inmtinfo.IN_SECTION)=[ENTER POD])
AND ((tblESSLog.DATE) Is Null));