Here is the SQL query after I enter the criteria:
SELECT qryForm_Date.Date, tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType, tblInformation.strOrderNo, tblInformation.strFLOC, tblInformation.strDescription, Sum(tblProgram.lngProgramHrs) AS SumOflngProgramHrs, Sum(tblPlanned.lngPlannedHrs) AS SumOflngPlannedHrs, Sum(tblScheduled.lngScheduledHrs) AS SumOflngScheduledHrs, Sum(tblActual.lngActualHrs) AS SumOflngActualHrs
FROM (((((tblInformation RIGHT JOIN tblActual ON tblInformation.strOrderOps = tblActual.strOrderOps) LEFT JOIN tblScheduled ON tblInformation.strOrderOps = tblScheduled.strOrderOps) LEFT JOIN tblPlanned ON tblInformation.strOrderOps = tblPlanned.strOrderOps) LEFT JOIN tblProgram ON tblInformation.strOrderOps = tblProgram.strOrderOps) LEFT JOIN tblStatus ON tblInformation.strOrderOps = tblStatus.strOrderOps) LEFT JOIN qryForm_Date ON tblInformation.strOrderNo = qryForm_Date.strOrderNo
GROUP BY qryForm_Date.Date, tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType, tblInformation.strOrderNo, tblInformation.strFLOC, tblInformation.strDescription
HAVING (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strArea)=[Forms]![frmStartup]![CA_Area] Or [Forms]![frmStartup]![CA_Area] Is Null) AND ((tblInformation.strRegInd)=[Forms]![frmStartup]![CB_RegInd] Or [Forms]![frmStartup]![CB_RegInd] Is Null) AND ((tblInformation.strOrderType)=[Forms]![frmStartup]![CA_WType] Or [Forms]![frmStartup]![CA_WType] Is Null))
ORDER BY tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType;
and here it is after Access "helps' me:
SELECT qryForm_Date.Date, tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType, tblInformation.strOrderNo, tblInformation.strFLOC, tblInformation.strDescription, Sum(tblProgram.lngProgramHrs) AS SumOflngProgramHrs, Sum(tblPlanned.lngPlannedHrs) AS SumOflngPlannedHrs, Sum(tblScheduled.lngScheduledHrs) AS SumOflngScheduledHrs, Sum(tblActual.lngActualHrs) AS SumOflngActualHrs
FROM (((((tblInformation RIGHT JOIN tblActual ON tblInformation.strOrderOps = tblActual.strOrderOps) LEFT JOIN tblScheduled ON tblInformation.strOrderOps = tblScheduled.strOrderOps) LEFT JOIN tblPlanned ON tblInformation.strOrderOps = tblPlanned.strOrderOps) LEFT JOIN tblProgram ON tblInformation.strOrderOps = tblProgram.strOrderOps) LEFT JOIN tblStatus ON tblInformation.strOrderOps = tblStatus.strOrderOps) LEFT JOIN qryForm_Date ON tblInformation.strOrderNo = qryForm_Date.strOrderNo
GROUP BY qryForm_Date.Date, tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType, tblInformation.strOrderNo, tblInformation.strFLOC, tblInformation.strDescription
HAVING (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strArea)=[Forms]![frmStartup]![CA_Area]) AND ((tblInformation.strRegInd)=[Forms]![frmStartup]![CB_RegInd]) AND ((tblInformation.strOrderType)=[Forms]![frmStartup]![CA_WType])) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strRegInd)=[Forms]![frmStartup]![CB_RegInd]) AND ((tblInformation.strOrderType)=[Forms]![frmStartup]![CA_WType]) AND (([Forms]![frmStartup]![CA_Area]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strArea)=[Forms]![frmStartup]![CA_Area]) AND ((tblInformation.strOrderType)=[Forms]![frmStartup]![CA_WType]) AND (([Forms]![frmStartup]![CB_RegInd]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strOrderType)=[Forms]![frmStartup]![CA_WType]) AND (([Forms]![frmStartup]![CA_Area]) Is Null) AND (([Forms]![frmStartup]![CB_RegInd]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strArea)=[Forms]![frmStartup]![CA_Area]) AND ((tblInformation.strRegInd)=[Forms]![frmStartup]![CB_RegInd]) AND (([Forms]![frmStartup]![CA_WType]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strRegInd)=[Forms]![frmStartup]![CB_RegInd]) AND (([Forms]![frmStartup]![CA_Area]) Is Null) AND (([Forms]![frmStartup]![CA_WType]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND ((tblInformation.strArea)=[Forms]![frmStartup]![CA_Area]) AND (([Forms]![frmStartup]![CB_RegInd]) Is Null) AND (([Forms]![frmStartup]![CA_WType]) Is Null)) OR (((qryForm_Date.Date) Between Nz([Forms]![frmStartup]![CD_StartM],0) And Nz([Forms]![frmStartup]![CD_EndM],3000/12)) AND (([Forms]![frmStartup]![CA_Area]) Is Null) AND (([Forms]![frmStartup]![CB_RegInd]) Is Null) AND (([Forms]![frmStartup]![CA_WType]) Is Null))
ORDER BY tblInformation.strArea, tblInformation.strRegInd, tblInformation.strOrderType;