>in the multi-users environment, is there anyway to know I'm the first login-er?
>
>the point is, I have to run a procedure at the beginning of the day, and I want it to run automatically, and it only runs once for a day. I don't want another person login and repeat that procedure.
If a computer is left running overnight, you could schedule your procedure to run at some early time like 03:00 (perhaps either before or after any backups are scheduled to run/complete). You could also set up a user account to run that job, and set up privileges so that only that user account has access to the procedure, so no-one else would be able to run it.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up