Results 1 to 2 of 2
  1. #1
    jaffar is offline Novice
    Windows 7 Access 2003
    Join Date
    Aug 2010
    Posts
    2

    Charts flashes on and off in Window 2007 but working fine in Windows xp 2003

    Hi guys



    I am using access 2003 Professional Edition .I have two form. One is main form and other is sub form. I am displaying chart on sub form. It is working fine on window XP 2003 sp3.

    The problem I am having is that when I tested and viewed the charts on window 2007 chart flashes
    on and off. It also flashes when i navigate records. When i minimize window and maximize it again it show the chart. I think it is refresh problem. On window 2007 i am using access 2003 Professional Edition. How can i solve it. Any idea

  2. #2
    jaffar is offline Novice
    Windows 7 Access 2003
    Join Date
    Aug 2010
    Posts
    2
    hi guys


    I founded solution by defining global variable for check



    Public m_intBMIRefreshCounter As Integer
    Behind Current event of form put this
    m_intBMIRefreshCounter = 0


    and Behind Update event of Graph put this code it will work fine "BMIGraph" will be name of Graph.

    Dim p_intLoopCount As IntegerDim objGraph As ObjectDim p_intLoopMaxValue As Integerp_intLoopMaxValue = 2If m_intBMIRefreshCounter = p_intLoopMaxValue ThenElseFor p_intLoopCount = m_intBMIRefreshCounter To 1On Error Resume NextSet objGraph = Me!BMIGraph.ObjectobjGraph.RefreshNext p_intLoopCountm_intBMIRefreshCounter = 2End IfDoEventsSet objGraph = Nothing

    Jaffar

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 06-29-2010, 10:13 AM
  2. Windows 7 and smtp mail with Access 2003
    By mafhobb in forum Programming
    Replies: 1
    Last Post: 06-28-2010, 09:05 AM
  3. Replies: 10
    Last Post: 05-19-2010, 04:24 PM
  4. Access 2003 and Windows 7
    By icedude in forum Access
    Replies: 4
    Last Post: 02-03-2010, 03:18 PM
  5. Replies: 0
    Last Post: 12-13-2009, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums