Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    421

    Unanswered: a97 VS AXP .... Me.Repaint

    I have some apps made in A97, now the time has come to convert them to AXP.

    No real conversion problems, except... My screen doesnt update anymore, i have a counter running on the screen doing something like so:

    Code:
    do while...
    
        myCounter = myCounter + 1
        me.txtDone = myCounter
        if myCounter mod 5 = 0 then me.repaint
    loop
    In 97 this results in my form beeing updated every 5 records, but in AXP it stops updating if the application is not "on screen". But if i minimize the app that is "on screen" lets say word... Then it doesnt start updating either....

    Has anyone ever seen anything like this?

    Greets

    The Mailman

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Did you try the Requery event of the form or Refresh

  3. #3
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    421
    I have tried anything i can think of:
    Docmd.RepaintObject
    Me.Refresh

    Me.requery wouldnt do much, becuase its just a progress screen. I am not putting any data into tables, which is what requery does...

    Any other ideas (anyone)

  4. #4
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    421

    Sample

    I created an A2K db with only one form, which opens on startup.

    If i click the button everyting works fine....
    Except when i drag the explorer over the db, then it freezes after some time (not updating the screen => See included pic Counter.jpg)
    If i then break the code, (See included pic CounterBreak.jpg) the counter has continued .... The code "Keeps on running" but the screen doesnt get updated.

    Can anyone try this at thier WinXP/OfficeXP setup and see if this is specific to my local or to XP in general.

    I can live without the counter, but its nice ... Some processes take a long time...

    Greetz & TIA
    Attached Thumbnails Attached Thumbnails Counter.JPG  
    Attached Files Attached Files

  5. #5
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    421

    Talking

    Can anybody please test this small app? And see if they get the same problem?

    I would like to know if i am the only one experiencing problems like this?!

    Greetz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •