Thanks for the help, I will try to explain. My form has 9 unbound combo
boxes per employee, equip, truck, and sub. The user has a job, begin date,
and end date field. He can have any number of combination on the other 4
fields. I use a separate "make table" query for the 4 fields with their
combinations of jobs, and dates.
INSERT INTO CreateSchEmp ( JOB, EMPLOYEE, BEGDT, ENDDT )
SELECT Forms!SCHEDULE!JOBNAME AS JOB, Forms!SCHEDULE!Emp1 AS EMPLOYEE,
Forms!SCHEDULE!BEGINWEEK AS BEGDT, Forms!SCHEDULE!ENDWEEK AS ENDDT;
If I only use 3 employees out of the 9 combo boxes, how do you prevent it
from still updating the job and date fields. I have tried to use "not null"
when there is no entry, but it doesn't work.
I query on the "make table" to get my final query, but would like to list
the info in 1 row not multiple rows.
Employee Equip Trucks
Subs
Jeff, Jim, Fred 966, D5 Cat, Broom Trk1, Semi3 ABC Cons,
Harmon Pipe
This is the query for the report
SELECT CreateSchEmp.JOB, CreateSchEmp.EMPLOYEE, CreateSchEmp.BEGDT,
CreateSchEmp.ENDDT, CreateSchEqp.JOB, CreateSchEqp.EQUIPMENT,
CreateSchEqp.BEGDT, CreateSchEqp.ENDDT, CreateSchsub.JOB, CreateSchsub.subs,
CreateSchsub.BEGDT, CreateSchsub.ENDDT, CreateSchTrkCP.JOB,
CreateSchTrkCP.TRUCKS, CreateSchTrkCP.BEGDT, CreateSchTrkCP.ENDDT
FROM CreateSchsub, CreateSchTrkCP, CreateSchEmp INNER JOIN CreateSchEqp ON
(CreateSchEmp.ENDDT = CreateSchEqp.ENDDT) AND (CreateSchEmp.BEGDT =
CreateSchEqp.BEGDT) AND (CreateSchEmp.JOB = CreateSchEqp.JOB)
GROUP BY CreateSchEmp.JOB, CreateSchEmp.EMPLOYEE, CreateSchEmp.BEGDT,
CreateSchEmp.ENDDT, CreateSchEqp.JOB, CreateSchEqp.EQUIPMENT,
CreateSchEqp.BEGDT, CreateSchEqp.ENDDT, CreateSchsub.JOB, CreateSchsub.subs,
CreateSchsub.BEGDT, CreateSchsub.ENDDT, CreateSchTrkCP.JOB,
CreateSchTrkCP.TRUCKS, CreateSchTrkCP.BEGDT, CreateSchTrkCP.ENDDT;
Thank You