Results 1 to 4 of 4
  1. #1
    dref is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    55

    Bar chart using parameters

    Hellos.
    Am working on a database that uses class and stream aggregates in a school to make bar charts.
    However, when i run the main report which has a few subforms and charts filtered thru a parameter unbound form, it gives me errors.
    Someone help me please. I have attached a sample file.
    Thx

    Note:
    A)The main report is MONTHLYREPORTUPPER
    B)Graph subreports:
    1.GraphContD1C3
    2.GraphContC6F9

    C)Graph Tables


    1.TRANSFERGRAPHUPPERC6F9
    2.TRANSFERGRAPHUPPERD1

    D)Graph Queries
    1.QryGraphTESTUPPERD1
    2.QryGraphTESTUPPERC6F9

    E)Form
    frmReports

    UPLOAD.zip

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Opening report in ReportView does not error - the graphs Don't render, PrintPreview errors. Also odd that only two of the combobox references cause error. When these subreports are not included, the report opens without error.

    Because the graph RowSource is a CROSSTAB using dynamic parameterized SELECT query, the parameters must be declared with PARAMETER clause in the query or column headings must be specified. Be sure to declare the parameters as integer type. Review http://allenbrowne.com/ser-67.html
    Last edited by June7; 07-26-2018 at 01:37 AM.
    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
    dref is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    55
    Thanks but even my charts are not picking the right information. Not even in report view. Could you help with that?
    Thx

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Not without more info on what is wrong. Graphs look fine to me.
    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. Limit chart to date range , Chart isnt updating .
    By fluffyvampirekitten in forum Access
    Replies: 5
    Last Post: 06-30-2015, 12:27 AM
  2. Passing report parameters to chart
    By clancy76 in forum Reports
    Replies: 3
    Last Post: 10-08-2014, 09:45 AM
  3. 3 parameters chart in ms access
    By jj1 in forum Access
    Replies: 3
    Last Post: 05-28-2014, 01:54 PM
  4. Replies: 9
    Last Post: 01-29-2013, 06:44 PM
  5. Replies: 2
    Last Post: 07-12-2010, 05:39 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