K
kkleung89
Okay, so I have a form "formWorkloads" that has a control source of sql
statement
SELECT tbWorkloads.[Maximum Workload], (select count(*) from
tbAppointments where tbAppointments.[Appointment
Date]=forms!formWorkloads!txtDate) AS Expr1
FROM tbWorkloads, tbAppointments
WHERE (((tbWorkloads.[Workload
Date])=[forms]![formWorkloads]![txtDate]));
I'm pretty sure that that's all "right", as in no typos. txtDate has a
default value of now(), so when it loads, I would hope that it would
just load the information from the first day. Maximum Workload and
Expr1 go into other text boxes on the form. When I try and view the
form, however, it just gives me a blank screen. Can you tell me why?
Thanks in advance.
statement
SELECT tbWorkloads.[Maximum Workload], (select count(*) from
tbAppointments where tbAppointments.[Appointment
Date]=forms!formWorkloads!txtDate) AS Expr1
FROM tbWorkloads, tbAppointments
WHERE (((tbWorkloads.[Workload
Date])=[forms]![formWorkloads]![txtDate]));
I'm pretty sure that that's all "right", as in no typos. txtDate has a
default value of now(), so when it loads, I would hope that it would
just load the information from the first day. Maximum Workload and
Expr1 go into other text boxes on the form. When I try and view the
form, however, it just gives me a blank screen. Can you tell me why?
Thanks in advance.