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!

How To Display a Breif Messgae for a few seconds

Status
Not open for further replies.

bobbarker

Programmer
Dec 20, 2001
83
GB
Whilst a form is loading I would like to display a box (like a msgbox but not awaiting user response) that advises "Form Loading...".
Would appreciate any suggestions how this can best be done.
With thanks.
 
How about a small new form and a Timer?

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
You may also want to look at the "Splash" screen you should be able to tweak this to suit your needs. As it's very similar to the above.

HTH


William
Software Engineer
ICQ No. 56047340
 
In one of my databases I display when a record is saved.

I just open the form during an After Update event using the following code:

DoCmd.OpenForm "~fmsg_Form_Saved" 'TELL USER THE FORM HAS BEEN SAVED

dblstart = Timer
Do While Timer < dblstart + 1.5 '--1.5 SECONDS - Form_Saved remains open so user notices
DoEvents '--OP SYS RUNS OTHERS
Loop


The important form properties are:
Caption NEW/CHANGED FORM HAS BEEN STORED
On Timer [Event Procedure]
Timer Interval 1000

On Timer code:
Private Sub Form_Timer()
DoCmd.Close
End Sub


HTH,
Bob [morning]
 
BobJacksonNCI
Your solution seems to be based on vbA code rather than VB5/6. There appears to be some confusion between the Timer control and the Timer function. In VB6 they are not related.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top