???? said:
thank you pieter
But let me ask you some questions please
I have to do the following steps check me if i 'm wrong
1- make unbound hidden form with warning text closing in five minutes
Yes .. and you can use the timer code to adjust that text from 5:00
minutes to 4:00 minutes to ... 1:45 ... as you see fit so when the form
becomes visible you have a countdown timer on the screen.
2- on timer event i will put the code you write
Yes -- in the new unbound form.
3- in the main form i will run command to open the unbound form i made
to
run in the beginning with application
I would suggest that you make the unbound hidden form the form that
opens on startup and have it open your main form *after* it has
determined that the user is allowed to open the database and has started
the timer. [I suspect this is the method used in the examples Gina
pointed you towards.]
then what is the value to put in timer interval?
You get to choose that value. The examples Gina supplied will have
suggestions.
what to do with days work off (Friday and Saturday )
As per Pieter's suggestion, the hidden time form will close the
application on startup so the user never sees it open.
so when the user came to the company in those two days He can't run
the
application any way.
You will have to research how to defeat the "hold shift to bypass the
startup form" feature of Access.
knowing that the application is done by ms access 2003
and splitter to the server as back end
thank you for reading and waiting for replay
Good Luck!