Question : Automation error when using MSGraph in Access 2000

Hi everyone,

I have a form with a Microsoft Graph 2000 OLE object in it. I can get the graph to work fine, and it does everything I want it to with a bit of VB tinkering going on in the backend.

I do have one major problem however. Periodically, I'll get the following error when attempting to update or refresh the graph's rowsource setting:

'Automation Error. Object is not connected to server'

with an error number of -2147220995.

This usually happens if there's been a bit of time between updates, but occasionally it can happen with seconds of a previous (successful) update of the rowsource.

Now, I've combed MSDN, Microsoft help and the web in general. I can't see anything about OLE timeouts, or anything that would help me out really. I can't let my users see this kind of error, and if I trap it, the graph simply won't update (obviously).

So. Anyone got any bright ideas? Coz I'm stumped.

Thanks in advance

Phil

Answer : Automation error when using MSGraph in Access 2000

Have u checked Tools--->Options----->Advance -------> OLE/DDE Time (Sec)

Aziz
Random Solutions  
 
programming4us programming4us