473,508 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help for updating the Chart in a form

1 New Member
Hi,

I have a form contain 2 subforms. Mainform is called frmOrder, subfrmOrder and subfrmChart respectively. I tried to use me.subfrmChart.Requery on After Update Event to update the Chart, but it doesn't work. However I used Forms!frmOrder!subfrmChart.Requery under the form subfrmOrder--field:[Quantity], it works fine.

Does anyone could help me solve the problem

Thanks
Feb 15 '07 #1
1 1414
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi,

I have a form contain 2 subforms. Mainform is called frmOrder, subfrmOrder and subfrmChart respectively. I tried to use me.subfrmChart.Requery on After Update Event to update the Chart, but it doesn't work. However I used Forms!frmOrder!subfrmChart.Requery under the form subfrmOrder--field:[Quantity], it works fine.

Does anyone could help me solve the problem

Thanks
Check out this tutorial.

Referring to Items on a Sub-Form

and see if it helps. Please come back if you've any questions.

Mary
Feb 15 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1544
by: Tom | last post by:
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...
1
2184
by: Jim | last post by:
I have this chart on a form. I'm trying to get this chart to render only if the user chooses to do so. This because of that the chart is quite complex and takes some time to render. I know that I...
1
1664
by: Paul | last post by:
Let say, I have a table called USERS with the following fields: UserID, Date, Name, ComType. ComType gets it's info from another table called TYPE with fields: TypeID, TypeOfCom, with options:...
22
6739
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
13
1417
by: mgorbach | last post by:
Im writing a program that does monte carlo simulation and im having trouble figuring out how to get the threading model right. I have a simulation class which contains all simulation data and...
8
1987
by: Jeffrey Spoon | last post by:
Hello, according to the docs you can update a DataGrid with an ArrayList. I have created an ArrayList and I add these objects: Dim patient1 As New Person patient1.Reading = 1...
0
1589
by: blurbology | last post by:
I have a word document that contains a Graph (MSGraph). I am trying to update the Chart's datasheet with new values, but I cannot seem to get the correct reference for the chart object. What I am...
2
3467
by: raddrummer | last post by:
I'm sure this is probably really easy but it's hanging me up so I'll go ahead and ask the question. I have an unbound form that contains a subform containing query results in tabular format. ...
0
1692
by: asifu9 | last post by:
Hello all, I am new to MS Access VBA 2007, i need help on how to open a chart form in switchboard. SwitchBoard having options to open a form in Add mode and edit mode, in both of...
0
7226
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
7388
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...
0
7499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5631
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
5055
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
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
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 ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
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.