Recent content by BradBrad

  1. B

    Multi-Query Error?

    Got it working: SELECT [Influent Data - Monthly Summary Sheet].[SumOfTotal Flow (m3/day)]/1000 AS Expr2, ([Influent Data - Monthly Summary Sheet].[SumOfTotal Flow (m3/day)]/1000)/[Influent Data - Monthly Summary Sheet].[SumOfNumber of Samples] AS [Average Total Flow], Max([Influent Data].[Max...
  2. B

    Multi-Query Error?

    Bob - The Date/Time attribute is applied, but only the date is recorded (no time). So you're saying there is no way to salvage anything I've done with the above code?
  3. B

    Multi-Query Error?

    Correct, [The Date] is a field in each table that is auto-recorded when a new data entry is made. It is the Date/Time property and is in the form dd/mm/yyyy. Return Sludge shouldn't be in there and has been removed. There are prompts in the other queries, asking for the same time range (a...
  4. B

    Multi-Query Error?

    QBE grid to start, then manual edits. Here's the updated code: SELECT [Influent Data - Monthly Summary Sheet].[SumOfTotal Flow (m3/day)]/1000 AS [Total Flow], [R1 Data By Month].[Total Flow]/[Influent Data - Monthly Summary Sheet].[SumOfNumber of Samples] AS [Average Total Flow]...
  5. B

    Multi-Query Error?

    Hi All, Here is my code: SELECT [Influent Data - Monthly Summary Sheet].[SumOfTotal Flow (m3/day)]/1000 AS [Total Flow], ([Influent Data - Monthly Summary Sheet].[SumOfTotal Flow (m3/day)]/1000)/[Influent Data - Monthly Summary Sheet].[SumOfNumber of Samples] AS [Average Total Flow]...
  6. B

    Monthly Summary Problem

    You're a magician. Thanks so much for your help!
  7. B

    Monthly Summary Problem

    Now - I guess one more question - If I wanted to have a report that had the monthly summaries (using Taruz's function) for the year, how would I go about doing that? It would just prompt the user to enter the year and then all the monthly summaries (with the values summed) would appear.
  8. B

    Monthly Summary Problem

    Hi Taruz - That Worked perfectly!
  9. B

    Monthly Summary Problem

    Alright, here is a code snippet: SELECT [Aeration Data].[The Date], [Aeration Data].[30 Minute Settling Test], [Aeration Data].[MLSS (mg/L)], [Aeration Data].[MLVSS (mg/L)], [Aeration Data].[Ammonia In (mg/L)], [Aeration Data].[Ammonia Out (mg/L)], [Aeration Data].[Ortho-Phosphorus In (mg/L)]...
  10. B

    Monthly Summary Problem

    Hi All, I have a form setup where a person can enter data (5 fields) and the date autopopulates with code in the form (dd/mm/yyyy). What I need to be able to do is create a monthly summary and separate that by year. I know about the sum function, but without some way to normalize the dates...
  11. B

    Query Not Showing All Results

    I got it working... I took out the following from the code: (Departments.[Department Name] = [Absenteeism 2011].Department)
  12. B

    Query Not Showing All Results

    I was thinking of having the admins just copy and paste the table for the new year.. is there a better way to do it?
  13. B

    Query Not Showing All Results

    Hahaha, Not my system..
  14. B

    Query Not Showing All Results

    Hi All, SELECT DISTINCTROW Departments.Director, Sum([Absenteeism 2011].Sick1) AS Sick1, Sum([Absenteeism 2011].Sick2) AS Sick2, Sum([Absenteeism 2011].Sick3) AS Sick3, Sum([Absenteeism 2011].Sick4) AS Sick4, Sum([Absenteeism 2011].Sick5) AS Sick5, Sum([Absenteeism 2011].Sick6) AS Sick6...
  15. B

    Autofill Textbox based on Input

    Alright I think I've gotten something here, could you elaborate on how I could hook this up to the initial text box? SELECT Departments.[Department Name] FROM [Absenteeism 2011] AS [Absenteeism 2011_1], Departments INNER JOIN [Absenteeism 2011] ON Departments.[Department Name] = [Absenteeism...
Back
Top Bottom