Hi Mr B,
Thank yo ufor your reply.
i tried this, but t doesn't work with me.
Mr B,
Could you please help me to get the code taht can display this picture
presentation just for 4 secondes at startup.
Thanks in advance.
Regards
Lassaad
Lassaad,
Here is a way that you can display a form (have the picture already on
the form) for a specified amount of time at startup.
First, specify the form that is to open when Access opens in the
"Display Form/Page:" option from the Tools/Startup dialog box.
Then use the "On Timer" event of that form and create the following
code:
DoCmd.Close acForm, "NameOfYourFirstForm"
DoCmd.OpenForm "NameOfYourNextForm"
Next, you will need to specify the amount of the interval at which the
code avobe is to run. You do this by entering a value in your forms
"Timer Interval" property. If you want the first form to be visible
for 4 seconds, just put 4000 in the "Timer Interval" property.
With these thing completed. close your database and reopen it. The
first form should be displayed because you specifiec it in the
"Display Form/Page:" option dialog box and then 4 seconds later, your
first form should close and your second form should be displayed.
Now, if you want to have more graphics to be displayed in some order,
then just create a form for each graphic and use the "On Timer" event
of each form for code that will close the previous form and open the
next form. You also need to specify the "Timer Interval" property
for each form.
You could have as many of these in succession as you need.
HTH
Mr B