AC5FF
Registered User.
- Local time
- Yesterday, 22:59
- Joined
- Apr 6, 2004
- Messages
- 552
I'm working on pulling a bunch of data together for a form but need to be able to edit the data.
I realize my query is using some joins that make the query itself read only but I've been going back and forth trying to come up with another idea on how to write everything so that it would be something I can edit.
The joins in this query are unavoidable - i think.
I need to be able to edit the SENDREPORT, SENDNOTES, REPAIRNOTES, RESOLUTION, and CLOSUREDATE fields when the report is shown. But all the other data is needed to display on the form.
Any ideas on how I can go about this?
TIA
I realize my query is using some joins that make the query itself read only but I've been going back and forth trying to come up with another idea on how to write everything so that it would be something I can edit.
The joins in this query are unavoidable - i think.
Code:
SELECT CustomerServiceLog.[Initially Found], CustomerServiceLog.[Identify By], CustomerServiceLog.[Account #], CustomerServiceLog.Issue, [Excess RunTime List].RunTime, [Excess RunTime List].Avg, ExcessCountsPastYear.CountOfReportDate AS PreviousIDd, CustomerServiceLog.SendReport, CustomerServiceLog.SendNotes, CustomerServiceLog.RepairNotes, CustomerServiceLog.Resolution, CustomerServiceLog.[Closure Date], [BASE: APARTMENT INFORMATION].[dcc code], "0" & Right([ccc-aaa],6) AS PropertyAcct
FROM [BASE: APARTMENT INFORMATION] RIGHT JOIN (ExcessCountsPastYear RIGHT JOIN (CustomerServiceLog LEFT JOIN [Excess RunTime List] ON (CustomerServiceLog.[Account #] = [Excess RunTime List].[ACCT NUMBER]) AND (CustomerServiceLog.[Initially Found] = [Excess RunTime List].ReportDate)) ON ExcessCountsPastYear.[ACCT NUMBER] = [Excess RunTime List].[ACCT NUMBER]) ON [BASE: APARTMENT INFORMATION].[CGas Acct #] = CustomerServiceLog.[Account #]
WHERE (((CustomerServiceLog.[Closure Date]) Is Null))
ORDER BY CustomerServiceLog.[Initially Found] DESC;
I need to be able to edit the SENDREPORT, SENDNOTES, REPAIRNOTES, RESOLUTION, and CLOSUREDATE fields when the report is shown. But all the other data is needed to display on the form.
Any ideas on how I can go about this?
TIA