Can somebody help me.
I have created a query with the following SQL Statement.
SELECT Logbook.Platform, Logbook.Date, Logbook.Shift, Logbook.Discipline, Logbook.[Job Description], Logbook.Tag, Logbook.[Job Location], Logbook.Elec, Logbook.Inst, Logbook.Mech, Logbook.Prod, Logbook.Telecomms, Logbook.CRT, Logbook.HSEC, Logbook.[Maint Supv], Logbook.[Prod Supv], Logbook.Wglits, Logbook.WGE, Logbook.OIE, Logbook.[Deck Co]
FROM Logbook
WHERE (((Logbook.Platform)=[Forms]![DailyshiftReport]![Platform]) AND ((Logbook.Date)=[Forms]![DailyshiftReport]![shiftdate]) AND ((Logbook.Shift)=[Forms]![DailyshiftReport]![Shift]) AND ((Logbook.Discipline)=[Forms]![DailyshiftReport]![Discipline]))
ORDER BY Logbook.Date DESC;
What i need is to be able to search for information with regards to a date, discipline, but also need to pick up any information for the checkbox for that discipline aswell.
The db allows people to input data what ever discipline the are, but also tick checkboxes to allow other disciplines to now about a task carried out. The query then runs from a form and each daily handover report should incorporate what ever each disipline has put into the db plus if there are any other jobs they should know about.
Help Please!!!
I have created a query with the following SQL Statement.
SELECT Logbook.Platform, Logbook.Date, Logbook.Shift, Logbook.Discipline, Logbook.[Job Description], Logbook.Tag, Logbook.[Job Location], Logbook.Elec, Logbook.Inst, Logbook.Mech, Logbook.Prod, Logbook.Telecomms, Logbook.CRT, Logbook.HSEC, Logbook.[Maint Supv], Logbook.[Prod Supv], Logbook.Wglits, Logbook.WGE, Logbook.OIE, Logbook.[Deck Co]
FROM Logbook
WHERE (((Logbook.Platform)=[Forms]![DailyshiftReport]![Platform]) AND ((Logbook.Date)=[Forms]![DailyshiftReport]![shiftdate]) AND ((Logbook.Shift)=[Forms]![DailyshiftReport]![Shift]) AND ((Logbook.Discipline)=[Forms]![DailyshiftReport]![Discipline]))
ORDER BY Logbook.Date DESC;
What i need is to be able to search for information with regards to a date, discipline, but also need to pick up any information for the checkbox for that discipline aswell.
The db allows people to input data what ever discipline the are, but also tick checkboxes to allow other disciplines to now about a task carried out. The query then runs from a form and each daily handover report should incorporate what ever each disipline has put into the db plus if there are any other jobs they should know about.
Help Please!!!