roz.clarke at barclays.com
roz.clarke at barclays.com
Thu Aug 5 04:18:14 CDT 2010
You've tried sticking me.refresh at the end of the procedure?
Roz
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester
Sent: 03 August 2010 19:51
To: Access Developers discussion and problem solving
Subject: [AccessD] Chart on Form Refresh
I use the following code to format the x axis of a chart on a form. The
first time I open the form it does not work. The second time it
reformats the x axis. Do I need some other statement to refresh the
chart or am I calling it from the wrong event.
Private Sub Form_Open(Cancel As Integer)
Dim GraphApp As Graph.Application
Dim GraphObj As Graph.Chart
Dim XMin As Single
Set GraphObj = Me!chtPlantChart.Object
GraphObj.Axes(1).MinimumScaleIsAuto = True
XMin = GraphObj.Axes(1).MinimumScale
GraphObj.Axes(1).MinimumScale = XMin + 1
End Sub
Chester Kaup
Engineering Technician
Kinder Morgan CO2 Company, LLP
Office (432) 688-3797
FAX (432) 688-3799
No trees were killed in the sending of this message. However a large
number of electrons were terribly inconvenienced.
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments.
Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this e-mail may be monitored by the Barclays Group for operational or business reasons.
Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group.
Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.
Barclays Bank PLC is authorised and regulated by the Financial Services Authority.