We've used upsize to get our back end up in SQL including queries (adp project option) (front end going to .Net via Microtools Access.Net convertor) however many didnt come across and now working through issues via copy paste fix
Problem with this code any suggestions gives incorrect syntax near tblMain details and near keyword then
Any suggestions TIA Silvertri
SELECT tblMainDetails.IncidentName, CONVERT(char(8), GetDate(), 108) AS CurrTime, DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) AS Hours, CASE WHEN (DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) > 0 THEN 'Crew Relief ' + [CrewName] ELSE 'Crew Check ' + [CrewName])
AS CrewChk
FROM tblMainDetails INNER JOIN
tblResourceJobsCrew ON tblMainDetails.IncidentName = tblResourceJobsCrew.IncidentName
WHERE (((tblMainDetails.CompletedTime) IS NULL))
GROUP BY tblMainDetails.IncidentName, CONVERT(char(8), GetDate() 108), CASE WHEN (DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) > 0 THEN 'Crew Relief-' + [CrewName] ELSE 'Crew Check-' + [CrewName]);
Problem with this code any suggestions gives incorrect syntax near tblMain details and near keyword then
Any suggestions TIA Silvertri
SELECT tblMainDetails.IncidentName, CONVERT(char(8), GetDate(), 108) AS CurrTime, DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) AS Hours, CASE WHEN (DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) > 0 THEN 'Crew Relief ' + [CrewName] ELSE 'Crew Check ' + [CrewName])
AS CrewChk
FROM tblMainDetails INNER JOIN
tblResourceJobsCrew ON tblMainDetails.IncidentName = tblResourceJobsCrew.IncidentName
WHERE (((tblMainDetails.CompletedTime) IS NULL))
GROUP BY tblMainDetails.IncidentName, CONVERT(char(8), GetDate() 108), CASE WHEN (DateDiff(hour,
[tblResourceJobsCrew].[DateIn] + [tblResourceJobsCrew].[TimeIn], GetDate()) > 0 THEN 'Crew Relief-' + [CrewName] ELSE 'Crew Check-' + [CrewName]);