🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.databases.ms-access
1 messages
1 total messages Started by Duarte Silvestre Thu, 10 Dec 1998 00:00
VERY URGENT - MSGraph.Chart.8 OLE object problem
#368
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads