473,327 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Update A Chart In An Unbound Object Frame

Tom
I have an unbound object frame on a subreport containing a chart linked to a
chart in an Excel worksheet. I can open the subreport in design view, select the
unbound frame, go to Edit - OLE/DDE Links, click on Links in the dialog that
appears and click on the Update Now button and the chart updates.

Can the above be done programatically at runtime?

Can the above be done programatically before the subreport opens?

Thanks!

Tom


Nov 12 '05 #1
2 6747
TC
Just a guess, but, see if there is a Runcommand constant for this. (I don't
have Access here to check.)

HTH,
TC
"Tom" <th*******@earthlink.net> wrote in message
news:Mp******************@newsread2.news.atl.earth link.net...
I have an unbound object frame on a subreport containing a chart linked to a chart in an Excel worksheet. I can open the subreport in design view, select the unbound frame, go to Edit - OLE/DDE Links, click on Links in the dialog that appears and click on the Update Now button and the chart updates.

Can the above be done programatically at runtime?

Can the above be done programatically before the subreport opens?

Thanks!

Tom

Nov 12 '05 #2
Hi Tom,

Check out the Action property and acOLEUpdate constant of the
ObjectFrame control; also, perhaps, the ObjectVerbs and Verb properties.

AFAIK you can't do anything before the subreport opens (because it's not
there to do it to<g>), but I think you'll find that the Format event of
the relevant section of the subreport runs at a suitable time.
On Thu, 18 Sep 2003 14:36:28 GMT, "Tom" <th*******@earthlink.net> wrote:
I have an unbound object frame on a subreport containing a chart linked to a
chart in an Excel worksheet. I can open the subreport in design view, select the
unbound frame, go to Edit - OLE/DDE Links, click on Links in the dialog that
appears and click on the Update Now button and the chart updates.

Can the above be done programatically at runtime?

Can the above be done programatically before the subreport opens?

Thanks!

Tom


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
Nov 12 '05 #3

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

Similar topics

0
by: ghanley | last post by:
I have searched the web all day for a lead on this. I have found how to control the Graph object mut not the embedded excel unbound object frame. I am trying to chart the data below on one...
0
by: davidchildreth | last post by:
It would make my clients life easier if he could place attached file into an unbound object frame on a form. This activity causes bloat if there are many such insertions. I would like to...
2
by: TD | last post by:
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...
5
by: brooks | last post by:
I have an unbound OLE object on a form: Name: OLEExcelChart OLE Class: Microsoft Excel 2000 Class: Excel.Chart.8 I need to manipulate properties of the chart as well as the underlying data....
0
by: Tim Marshall | last post by:
A2003. I would desperately like to have a similar ole object on a report object such that when the report is printed, it takes all the properties of a similar object on the form. In this case,...
0
by: Sajit | last post by:
I am trying to use an Excel file as a template for an Access report. I Linked the Excel file through an unbound frame as an OLE object with the properties set as follows: Source Doc...
3
FishVal
by: FishVal | last post by:
Hi! I have a table in my Access 2003 db containing OLE Object field with Word Document. What i want to do is to open an unbound copy of Document in MSWord application so the source in the table...
0
by: chico_yallin | last post by:
I am trying to use an Excel file as a template for an Access report. To do this, I have linked the excel range to an unbound OLE frame. The OLE frame is placed over the report detail area and...
7
by: AndyS | last post by:
I hope someone can help with this. I have been asked to update some old reports in an Access 2003 database (originally Access 2 then Access 97). These are Purchase Orders of various formats, but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.