473,513 Members | 2,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to reference the MS Graph control place inside an unbound object frame

TD
I would like to set the value of the Y axes on my graph at runtime. I
created the graph my opening a form and placing an unbound object frame
on it then placed the MS Graph control into this. Next I copied /
pasted this object into a report. How can I do this? I can't fiqure
out how reference the MS Graph control in code.

Thanks,
TD

Nov 13 '05 #1
2 2404
On 4 Nov 2005 11:12:05 -0800, TD wrote:
I would like to set the value of the Y axes on my graph at runtime. I
created the graph my opening a form and placing an unbound object frame
on it then placed the MS Graph control into this. Next I copied /
pasted this object into a report. How can I do this? I can't fiqure
out how reference the MS Graph control in code.

Thanks,
TD


Graphs are in OLEUnbound controls.
Here is an example setting the Chart's Title using code.
Place the code in the Report Header Format event (or wherever it works
for you).

Me!OLEUnbound7.ChartTitle.Text = Forms!frmDate!Location & " Avg.
Arrival Rate for the Year " & Forms!frmDate!StartDate
Me!OLEUnbound7.Axes(2).HasTitle = False
Me!OLEUnbound7.Requery

Change OLEUnbound7 to whatever the actual name of your control is.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Nov 13 '05 #2
TD
When I type Me.OLEUnbound3. there are no options like Axes() or
ChartTitle.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
9664
by: Wolfgang Kreuzer | last post by:
Hello all, I have two tables - Projects and ProjectStruct Table Projects contains master records of the projects, ProjectStruct allows to define a project herarchie and contains the fields...
2
3112
by: Dave | last post by:
I'm trying to follow the examples in VBAGRP9.CHM and/or VBAGR10.CHM with no success. I'm trying to Chage the Legend Colors based on Content so that I can establish a certain color format on...
7
2044
by: vindaloo1 | last post by:
I'm using Access 2000 and I have a main form and a subform. When a control on the subform is updated I am trying to update a control on the mainform. But instead of updating the control on the...
13
2412
by: Max | last post by:
Hi There! I'm having a mysterious error right after I login using Forms Authentication in my ASP.NET app. Below is the error... Exception Details: System.NullReferenceException: Object...
1
2780
by: Heather | last post by:
I have created a unbound object frame and selected MS Graph and use my table to create my graph. Note I did not use the wizard. I open my MS Graph to change the stuff. How can I change the...
1
3855
by: Roger Oshaug | last post by:
Access 2003 I have a simple line graph with one line and I need an extra horizontal line in that graph. I want something similar to this, (without the vertical line): ...
1
1433
by: RichMo | last post by:
Hi, I'm new to C++ and i can't seem to find a tutorial on the net for this one. I have a dialog based MFC app running that reads sensors using a USB interface device. At the moment the...
2
3003
by: itm | last post by:
I am using a Word document on a report in an unbound object. The document does not appear on the report the same way it appears as a Word document. It is much smaller. I tried changing the size...
275
12039
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
7257
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5682
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.