|
-
Jun 8th, 2006, 09:24 AM
#1
Thread Starter
New Member
[RESOLVED][MS ACCESS]Refresh form?
I wrote some procedures which handles each a seperate unit.
When a procedure finishes, I want to write an entry to listbox 'lbLogbook' so the users sees what's happening. But the entries in the listbox all appear at once when all the procedures are finished.
When I go into break-mode and go step-by-step then I see the listbox filling up like it's supposed to be. Do I have to manually refresh the form or so?
Calling the requery method of the listbox doesn't do anything. I got the same problem with a textbox, it only showed a value when the procedures are finished not during. Anybody?
Regards,
Eld0
Last edited by Eld0; Jun 9th, 2006 at 01:43 AM.
-
Jun 8th, 2006, 10:00 AM
#2
Re: [MS ACCESS]Refresh form?
Add
after each add to the listbox... that should allow the screen to catch up...
(sometimes u need to add 2 DoEvents oEvents)
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 8th, 2006, 10:00 AM
#3
Re: [MS ACCESS]Refresh form?
Every time you write a new line to the listbox you should call the Repaint method of the Form that contains the listbox. This will refresh the screen image of the form all all its controls - thereby showing the additional lines.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Jun 9th, 2006, 01:04 AM
#4
Thread Starter
New Member
Re: [MS ACCESS]Refresh form?
 Originally Posted by DKenny
Every time you write a new line to the listbox you should call the Repaint method of the Form that contains the listbox. This will refresh the screen image of the form all all its controls - thereby showing the additional lines.
thanx dude, it works like a charm now.
That I overlooked this, I feel so n00bish
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|