K
knowshowrosegrows
Hello,
I have a simple form where I want the user to fill in 4 controls.
tblCensusEvent.CensusDate, tblCensusEvent.Census, tblCensusEvent.Admiss,
tblCensusEvent.[D/C], and for that data to go into the query.
This little form is attached to the following query:
SELECT tblCensusEvent.CensusDate, tblCensusEvent.Census,
tblCensusEvent.Admiss, tblCensusEvent.[D/C], qryCurrentCapacity.CensusCap
FROM tblCensusEvent LEFT JOIN qryCurrentCapacity ON
tblCensusEvent.Program_ID = qryCurrentCapacity.Program_ID;
The query qryCurrentCapacity referenced above is the following query:
SELECT tblProgram.Program_ID, Sum(qryRunningCapacity.Cap) AS CensusCap
FROM qryRunningCapacity INNER JOIN tblProgram ON
qryRunningCapacity.Program_ID = tblProgram.Program_ID
WHERE (((qryRunningCapacity.CapEndDate) Is Null))
GROUP BY tblProgram.Program_ID;
Not surprisingly, I guess, my little form will not let me add a record to
tblCensusEvent for a new date.
Can anyone understand my question and make a suggestion?
I have a simple form where I want the user to fill in 4 controls.
tblCensusEvent.CensusDate, tblCensusEvent.Census, tblCensusEvent.Admiss,
tblCensusEvent.[D/C], and for that data to go into the query.
This little form is attached to the following query:
SELECT tblCensusEvent.CensusDate, tblCensusEvent.Census,
tblCensusEvent.Admiss, tblCensusEvent.[D/C], qryCurrentCapacity.CensusCap
FROM tblCensusEvent LEFT JOIN qryCurrentCapacity ON
tblCensusEvent.Program_ID = qryCurrentCapacity.Program_ID;
The query qryCurrentCapacity referenced above is the following query:
SELECT tblProgram.Program_ID, Sum(qryRunningCapacity.Cap) AS CensusCap
FROM qryRunningCapacity INNER JOIN tblProgram ON
qryRunningCapacity.Program_ID = tblProgram.Program_ID
WHERE (((qryRunningCapacity.CapEndDate) Is Null))
GROUP BY tblProgram.Program_ID;
Not surprisingly, I guess, my little form will not let me add a record to
tblCensusEvent for a new date.
Can anyone understand my question and make a suggestion?