H
harleyken
my subform is populated by a cbo box on main form. (i am aware naming isn't
w/conventions - but I am still new).
here is the query as it stands:
SELECT [Scheduled Classes].Class, [Scheduled Classes].[Class Start Date],
[Scheduled Classes].[Class Number]
FROM [Scheduled Classes]
WHERE ((([Scheduled Classes].Class)=[forms]![schedule class].[combo2]) AND
(([Scheduled Classes].[Class Start Date])>(Date()-1)))
ORDER BY [Scheduled Classes].[Class Start Date], [Scheduled Classes].[Class
Number];
this returns matching classes... however, I would like to include a "all
classes" (represented by "4" in the bound column of the cbo box).
can I modify my query to work, or should I use a cmd button on the form with
a IIf -Then statement and a select statement?
w/conventions - but I am still new).
here is the query as it stands:
SELECT [Scheduled Classes].Class, [Scheduled Classes].[Class Start Date],
[Scheduled Classes].[Class Number]
FROM [Scheduled Classes]
WHERE ((([Scheduled Classes].Class)=[forms]![schedule class].[combo2]) AND
(([Scheduled Classes].[Class Start Date])>(Date()-1)))
ORDER BY [Scheduled Classes].[Class Start Date], [Scheduled Classes].[Class
Number];
this returns matching classes... however, I would like to include a "all
classes" (represented by "4" in the bound column of the cbo box).
can I modify my query to work, or should I use a cmd button on the form with
a IIf -Then statement and a select statement?