Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sreen updated between two functions

Status
Not open for further replies.

Pekka

Technical User
Mar 19, 2002
107
FI
Hi I want that my textbox's value change between two functions but I cant get it work.
Private Sub Command0_Click()
DocumentTables

Me.Form.Refresh
Me.Form.Repaint
Pause 5
Me.Info.Value = "Tietoja paivitetaan! Malta nyt hetki...."
Me.Info.Visible = True
Pause 1

Call Paiv(Me.alkuvv, Me.loppuvv)

Me.vast_s.SourceObject = "Vastaukset_analyysi_b Subform"
Me.vast_s.Visible = True
Me.Info.Value = "Tiedot analysoitu ja lisatty"

Regards

Pekka

"every dog will have his day"
 
Hi

Not sure what you mean by "Does not work"

Try looking at DoEvents in help,perhaps the screen is not being updated by Windows

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Hallo,

Have you tried putting the Refresh, Repaint and DoEvents (as KenReay suggests) after the Me.Info.Visible = True line?

- Frink
 
Thanks. I would like to say that I've tried, but...That's it!

Pekka

"every dog will have his day"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top