S
SandyR
Here is my query:
SELECT tbldayemps.empno, tbldayemps.crewno, tbldayemps.logday
FROM tbldayemps
WHERE (((tbldayemps.crewno)=0) AND
((tbldayemps.logday)=[forms]![dailylog].[form]![cbotdate]));
If use a break point and stop the form, it gives the result I want, but the
combo box comes up with no results. The field I am using in the where clause
is in the main form, the combo box running the query is in a nested subform.
SELECT tbldayemps.empno, tbldayemps.crewno, tbldayemps.logday
FROM tbldayemps
WHERE (((tbldayemps.crewno)=0) AND
((tbldayemps.logday)=[forms]![dailylog].[form]![cbotdate]));
If use a break point and stop the form, it gives the result I want, but the
combo box comes up with no results. The field I am using in the where clause
is in the main form, the combo box running the query is in a nested subform.