change form automatically

garbett_d

Registered User.
Local time
Today, 00:30
Joined
Jan 28, 2003
Messages
36
i have created a database and i have created a front screen, i have done this so that when you open the access file it automatically shows this screen, like a welcome page, is there any way that the page can some how be changed to the next screen? i tried using a macro but this only gives you the option to click on the screen to change this?

is there a way to somehow put it on a timer so that after 10 seconds it will change?

i have been raking my brain trying and cannot find an answer, if anyone could help me it would be much appreciated?

:confused:
 
i have tried alot of these but i am very new to VB therefore the coding means very little to me, in understanding terms! is there not a way to do this using a macro of some sort because i couldnt understand where i was going wrong with the coding?

cheers for your patience.

dan

:(
 
Ok - tell us what you have done so far.........Have you created the form you want to use as the splash screen?
Col
:cool:
 
yeah my form's have been created!
all that it needs is code? (i think?):confused:
 
Ok- so in the properties of the form, find the OnTimer bit, put curser on the line, select EventProcedure from the drop down and pop in this code -



Private Sub Form_Timer()
DoCmd.Close acForm, Me.Name
End Sub

Then set TimerInterval for the form to 3000 (for 3 seconds)


Thats it - Bobs your Uncle

Col

:cool:
 
i just realised, in the heat of all the excitment lol! (it works!)
i dont know how to make the other screen pop up after that one has gone?
do i need to type sumit in there?
 
After the "DoCmd.Close" bit add this new line

DoCmd.OpenForm ("YourFormName")

Col
:cool:
 

Users who are viewing this thread

Back
Top Bottom