Results 1 to 15 of 15
  1. #1
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6

    Error when opening form with graphs in access runtime mode


    Click image for larger version. 

Name:	MainForm.png 
Views:	22 
Size:	150.3 KB 
ID:	35390Click image for larger version. 

Name:	DropTab.png 
Views:	22 
Size:	96.3 KB 
ID:	35391Click image for larger version. 

Name:	AccessFormDesign.png 
Views:	22 
Size:	42.2 KB 
ID:	35392
    I have a KPI form with multiple graphs that shows actual vs target year on year, activities etc. The form can be filter to specific users or date range. Everything is 100%, filters work and graphs update accordingly. But when I open the form in access runtime, it returns and error complaining about the OLE Server. No missing reference, as far as I can see.

    I used the chart option on the Form Design menu (3rd picture) and not the Chart option from the Controls menu.

    Any ideas?
    Last edited by Dirk; 09-06-2018 at 01:03 AM. Reason: Add Screenshots

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,445
    there can be many errors referencing the OLE server, what is yours?

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    The modern charts option you used was added in a recent Access 365 update and I believe won't work in earlier versions such as Access 2016 run time or Access 2010 etc.
    You'll need to use the older chart types for now with older versions of Access. They will still look the same!
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6
    Hi Ajax,
    The error I get is "An error occurred while sending data to the OLE server (the application used to create the object)". This could mean many things and I haven't found anything close to resolving it.

  5. #5
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6
    The old charts are a bit frustrating when you use anchoring, as the font sizes etc. are difficult the control. And the new ones are much easier to design. Thank you for the reply.

  6. #6
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,445
    I suspect Ridders is right - plus runtime can't create forms/reports/controls, only modify what already exists - that depends on your code - a graph is made up of many objects but no idea if these are retained when you save the form/report or created as part of the rendering.

  7. #7
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    Quote Originally Posted by Dirk View Post
    The old charts are a bit frustrating when you use anchoring, as the font sizes etc. are difficult the control. And the new ones are much easier to design. Thank you for the reply.
    It probably depends on what you're used to.
    A lot of people find the old charts very hard to use
    I found the new charts simpler but more limiting. Fewer chart types and some options no longer available for those chart types

    Anyway I just tested my theory - created a report with a modern column chart in Access 365.
    Opened the file in A2010 - the report opens fine but the chart control isn't there - its not even shown in design view or listed in the property sheet

    So it looks like you have no real choice.

    It does explain why MS decided to keep both the old and new methods available on the ribbon
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  8. #8
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6
    Thank you Ridders. I didn't want to go back to the old charts, but seems like I have no choice. MS might as well just take the new charts off, as there is no use for it in runtime. Maybe someday.

  9. #9
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    I'm sure they are useful to those only using Office 365 - all part of the MS plan to move everyone onto it.
    I'm sticking with 2010 for as long as possible as I hate the 2016/365 interface
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  10. #10
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6
    Thank you. I just recently changed from 2010 to 365. Now I have some work to do to convert back to the old charts. I have a KPI form and similar management report with plenty charts.

  11. #11
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    Good luck.
    I'm glad you asked the question as the issue hadn't occurred to me until now.
    I'll stick with the old charts for the foreseeable future

    Excuse my ignorance. KPI?
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  12. #12
    Dirk is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    6
    Key Performance Indicators

  13. #13
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    Ah yes. Amazing I'd forgotten that as it used to be one of many jargon terms used when I was teaching. Brings it all back....
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  14. #14
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,445
    Could mean

    Keep Presentations Interesting


  15. #15
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,991
    Or according to Acronyms.com its also Key Performance Index / Key Process indicator / Key Person of influence / Key Point Installation / Keeping People involved etc ...

    BUT we really did use Key Performance Indicator in teaching ... I obviously am forgetting all I used to know!
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Replies: 4
    Last Post: 11-26-2013, 10:47 AM
  2. Opening a Form in Datasheet Mode.
    By Robeen in forum Forms
    Replies: 7
    Last Post: 11-19-2013, 04:03 PM
  3. Replies: 9
    Last Post: 10-17-2012, 11:37 AM
  4. Replies: 6
    Last Post: 09-20-2012, 04:22 PM
  5. Access 2007 Runtime mode & Sharepoint list
    By PuJo in forum SharePoint
    Replies: 0
    Last Post: 07-31-2012, 05:16 PM

Tags for this Thread

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