strSQL = "SELECT DISTINCTROW Employee.ID, Projects.[Project ID], Projects.[Project Name], Projects.Mgr " + _
"FROM Projects INNER JOIN (Employee INNER JOIN [Time Sheets] ON Employee.ID = [Time Sheets].ID) " + _
"ON Projects.[Project ID] = [Time Sheets].[Project ID] " + _
"WHERE(((Employee.ID) = [Forms]![frmGetEmpNum]![cboEmpNum]))"
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset(strSQL, dbOpenSnapshot)
The error message is displaying too few parameters, any ideas?
Greg
"FROM Projects INNER JOIN (Employee INNER JOIN [Time Sheets] ON Employee.ID = [Time Sheets].ID) " + _
"ON Projects.[Project ID] = [Time Sheets].[Project ID] " + _
"WHERE(((Employee.ID) = [Forms]![frmGetEmpNum]![cboEmpNum]))"
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset(strSQL, dbOpenSnapshot)
The error message is displaying too few parameters, any ideas?
Greg