Results 1 to 4 of 4
  1. #1
    efleming is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    May 2011
    Location
    Ontario, Canada
    Posts
    11

    Selective Mean(s) question ...

    Is it possible to create a query or report, of sorts, which will yield somewhat more compiled results? I have a query established, based on



    tabled forest seed-parasite data, which gives the mean incidence of seed-paratisism per stand in a given operation. I would like, however, to

    compile these means so that, instead of a mean for every stand tested in every operation, I have cumulative means per stand and per

    operation (I believe this is leaning towards many-to-many relationships, although I am unfamiliar with them?). Is this possible to do from

    my broader query? The prospect of creating a new query specific to every single stand and/or operation is a painful one ...



    As is, my tables are;


    HostSpecies
    Key_Species
    Species (Name)
    Comments

    Operations
    Key_Operation
    Species
    Comments

    SERFOB_Seeds
    Key_SERFOB_Seeds
    Key_Operation
    Key_Stands
    Key_Species
    Tree
    Cone
    GR_GT_collees
    GR_GT_abimees
    GR_PT
    GR_SAINES
    GR_VIDES
    GR_PARASITEES
    Comments

    Stands
    Key_Stands
    Name
    Region
    Code_SERFOB
    Key_Species
    Longitude
    Latitude
    Comments



    ...sorry for some of the field-names being in French; my present query structure:


    Shown: Name (Stands) - Longitude (Stands) - Latitude (Stands) - Operation (Operations) - Species (HostSpecies)

    Not shown: GR_PARASITEES (SERFOB_Seeds) - GR_GT_collees ("") - GR_GT_abimees ("")

    Mean(s): ([GR_PARASITEES]/[GR_GT_collees]+[GR_GT_abimees])

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Try using Access report designer Grouping & Sorting features with summary calcs in group/page/report footers.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    efleming is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    May 2011
    Location
    Ontario, Canada
    Posts
    11
    I began to figure yesterday that it was more a report than a query issue; however, when I try to create the report (name, grouped by operation, means averaged), I get that "unable to preview report, possible because source table is open in exclusive mode" error. When I then-try to preview from design-view, or even to reopen the table, I get the overflow error.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Sorry, not familiar with that error, never encountered it. If you can make your project available, will take a look at.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 09-25-2010, 10:14 AM
  2. Update Query- selective update?
    By stephenaa5 in forum Queries
    Replies: 1
    Last Post: 10-29-2009, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums