Here is my query:
SELECT dbo.T_Inspections.Status, dbo.T_Inspections.Atts, dbo.T_Inspections.[Job Name], dbo.T_Inspections.Job_Id, dbo.T_Inspections.Est_Num_Completion, dbo.T_Inspections.[Street Addr], dbo.T_Inspections.City, dbo.T_Inspections.State, dbo.T_Inspections.County, dbo.T_Inspections.Zip, dbo.T_Inspections.Rep, dbo.T_Inspections.Disp, dbo.T_Inspections.Due, dbo.T_Inspections.[Rep Due], dbo.T_Inspections.Start, dbo.T_Inspections.Created, dbo.T_Inspections.Compl, dbo.T_Inspections.Submt, dbo.T_Inspections.Client, dbo.T_Inspections.Form, dbo.T_Inspections.Job_Auto_ID, dbo.T_Receipts.Amount, dbo.T_Receipts.Deduction, dbo.T_Inspections.File_Source, dbo.T_Payments.Amt
FROM (dbo.T_Inspections LEFT JOIN dbo.T_Receipts ON dbo.T_Inspections.Job_Id = dbo.T_Receipts.Invoice_Number) LEFT JOIN dbo.T_Payments ON dbo.T_Inspections.Job_Id = dbo.T_Payments.Job_ID;
What is strange is that the same query in MS Access will return Job Name values while SQL has Nulls. I can tell you that the person who created this use an MS Access Select Query which takes some time to load on the form. I am using Pass Through Query which takes seconds.
Any Ideas
SELECT dbo.T_Inspections.Status, dbo.T_Inspections.Atts, dbo.T_Inspections.[Job Name], dbo.T_Inspections.Job_Id, dbo.T_Inspections.Est_Num_Completion, dbo.T_Inspections.[Street Addr], dbo.T_Inspections.City, dbo.T_Inspections.State, dbo.T_Inspections.County, dbo.T_Inspections.Zip, dbo.T_Inspections.Rep, dbo.T_Inspections.Disp, dbo.T_Inspections.Due, dbo.T_Inspections.[Rep Due], dbo.T_Inspections.Start, dbo.T_Inspections.Created, dbo.T_Inspections.Compl, dbo.T_Inspections.Submt, dbo.T_Inspections.Client, dbo.T_Inspections.Form, dbo.T_Inspections.Job_Auto_ID, dbo.T_Receipts.Amount, dbo.T_Receipts.Deduction, dbo.T_Inspections.File_Source, dbo.T_Payments.Amt
FROM (dbo.T_Inspections LEFT JOIN dbo.T_Receipts ON dbo.T_Inspections.Job_Id = dbo.T_Receipts.Invoice_Number) LEFT JOIN dbo.T_Payments ON dbo.T_Inspections.Job_Id = dbo.T_Payments.Job_ID;
What is strange is that the same query in MS Access will return Job Name values while SQL has Nulls. I can tell you that the person who created this use an MS Access Select Query which takes some time to load on the form. I am using Pass Through Query which takes seconds.
Any Ideas