🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #368

VERY URGENT - MSGraph.Chart.8 OLE object problem

#368
From: Duarte Silvestre
Date: Thu, 10 Dec 1998 00:00
45 lines
2244 bytes
I have a function with the following code:

  With [chartcontrol]
        .HasTitle = True
        .ChartTitle.Text = "Percentagem de Classe " & [escalao] & ", para
todas as "
.HasLegend = True
    End With



[chartcontrol] it is an object OLE of the class MSGraph.Chart.8 and he draws
a chart from a SQL query.

The function was executed correctly several times, without any problem.

Yesterday, I continued to execute the function correctly. Moments then, and
without it has altered the function, I began to obtain the following error
message:

runtime error ' 1004 ':
It is not possible to define the property HasTitle of the class Chart

If I eliminate the following line of the function:  " .HasTitle = True ",
when I execute the function again I obtain the following error message:

runtime error ' 1004 ':
It is not possible to define the property Text of the class ChartTitle


Starting from here the object OLE [ChartControl]  left of being executed,
that is to say the chart is not upgraded.


What is that happens?  Why that unexpectedly, did they begin to appear these
errors?

Does anybody help me?  I have immense urgency in solving this problem,
because I have to finish a very important work tomorrow .

I apologize for my English.

Thanking at once,

with my best regards
Technical Details
Message-ID: <366f5d48.0@news.ip.pt>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111a5a,fc3d34def264bed3,start
X-Google-Attributes: gid111a5a,public
X-Google-Thread: fb7cd,fc3d34def264bed3,start
X-Google-Attributes: gidfb7cd,public
X-Google-Thread: f8db2,fc3d34def264bed3,start
X-Google-Attributes: gidf8db2,public
X-Google-Thread: 102b1d,fc3d34def264bed3,start
X-Google-Attributes: gid102b1d,public
X-Google-Thread: ff0ac,fc3d34def264bed3,start
X-Google-Attributes: gidff0ac,public
From: "Duarte Silvestre" <Dsilvestre@ip.pt>
Subject: VERY URGENT - MSGraph.Chart.8 OLE object problem
Date: 1998/12/10
Message-ID: <366f5d48.0@news.ip.pt>
X-Deja-AN: 420687141
X-Trace: 10 Dec 1998 05:34:00 GMT, 195.23.113.11
Newsgroups: comp.databases.ms-access,de.comp.datenbanken.ms-access,es.comp.bd.ms-access,it.comp.database.access,microsoft.public.access.customcontrols
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3