B
Blueridge.net
MS Access has "assisted" me to create the following query, that provide the
output I'm looking for as long as click through paramenter inputs for
"Sched_Uptime" and "Outage_Mins_Used" with no input. The problem is that I
didn't intentonally build parameters into the query. I am new to Access and
the "helpfile" wasn't very helpful to me. I feel the problem is related to
the ([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime]; statement but I'm
pretty inexperienced.
SELECT DISTINCTROW [Merial_Current Month_Detail].Field1, [Merial_Current
Month_Detail].Field2, [Merial_Current Month_Detail].Field20,
Sum([Merial_Current Month_Detail].Field4) AS Sched_Uptime,
Sum([Merial_Current Month_Detail].Field5) AS Outage_Mins_Used,
([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime] AS Availablity
FROM [Merial_Current Month_Detail]
GROUP BY [Merial_Current Month_Detail].Field1, [Merial_Current
Month_Detail].Field2, [Merial_Current Month_Detail].Field20,
([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime];
Any advice would be appreciated......
output I'm looking for as long as click through paramenter inputs for
"Sched_Uptime" and "Outage_Mins_Used" with no input. The problem is that I
didn't intentonally build parameters into the query. I am new to Access and
the "helpfile" wasn't very helpful to me. I feel the problem is related to
the ([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime]; statement but I'm
pretty inexperienced.
SELECT DISTINCTROW [Merial_Current Month_Detail].Field1, [Merial_Current
Month_Detail].Field2, [Merial_Current Month_Detail].Field20,
Sum([Merial_Current Month_Detail].Field4) AS Sched_Uptime,
Sum([Merial_Current Month_Detail].Field5) AS Outage_Mins_Used,
([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime] AS Availablity
FROM [Merial_Current Month_Detail]
GROUP BY [Merial_Current Month_Detail].Field1, [Merial_Current
Month_Detail].Field2, [Merial_Current Month_Detail].Field20,
([Sched_Uptime]-[Outage_Mins_Used])/[Sched_Uptime];
Any advice would be appreciated......