Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2022
    Posts
    21

    Question Query looks ok but access sees error?

    Hello,



    I am now running into an issue when I try to create a basic chart or modern chart based off my query....

    This shows that the query is working great..... Got the name I wanted, and the query creates the 2 columns and counts wellAttachment 47518
    In a modern chart, all it's showing in the query is the name and not myIndirect count or myOrder count?Attachment 47519

    Not sure how to fix this one...?

    This is my query now...

    Code:
    PARAMETERS [Forms]![formChart]![Combo0] Text ( 255 );
    TRANSFORM Count(*) AS [Count]
    SELECT tablemyTimeKeeper.myName
    FROM tablemyTimeKeeper
    WHERE (((tablemyTimeKeeper.myName)=[Forms]![formChart]![Combo0]))
    GROUP BY tablemyTimeKeeper.myName
    PIVOT IIf(InStr([myBarcode],"Indirect")>0,"myIndirect","myOrder");

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    You said this was working in your other thread. What is different? Was the other using classic MSGraph? Sorry, I cannot help with Modern Chart.
    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
    Join Date
    Mar 2022
    Posts
    21
    June7,

    Yes the query you provided works well. I tried with a classic chart and it says this:

    Attachment 47521

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I don't understand. The query works just fine with classic MSGraph in my test. You said it worked now you say it does not?
    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.

  5. #5
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi

    Best to upload the database to see if we get the same error.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  6. #6
    Join Date
    Mar 2022
    Posts
    21
    Hey all,

    The query works itself, when you select the query to point to from the chart either classic or modern I get the error. I will attach.

    Attachment 47522

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    The form combobox errors with 'out of memory'.

    I built MSGraph chart on formChart and set the RowSource to querymyTimeKeeper. I select Administrator and when I get the 'out of memory' error, click End. I click Refresh All on ribbon and chart displays correctly.

    I got the error you posted when trying to build chart. Because of how MSGraph chart wizard works, I always build a new chart based on a table - any table. Once chart object is established on form or report I change RowSource and chart type and any other properties as needed.
    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.

  8. #8
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi
    See attached
    Attached Files Attached Files
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

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

Similar Threads

  1. export query to word sees a mess result
    By DBenz in forum Access
    Replies: 1
    Last Post: 01-30-2020, 04:57 PM
  2. Replies: 4
    Last Post: 02-16-2019, 10:23 PM
  3. Replies: 4
    Last Post: 02-16-2019, 10:21 PM
  4. Replies: 9
    Last Post: 08-26-2015, 11:03 AM
  5. Replies: 1
    Last Post: 01-12-2015, 03:54 PM

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