I have a staff database on a network with 6 different departments having access to it. How can I display a message on opening stating if a department has the database open?
This may sound a little overkill but its the only thing I could think of...
1.. Retrive the user id of the person logged in.
(there is VBA code for this somewhere I'm not sure...)
2. Have the user id in a table that shows what department that person is in.
3. Update the table whenever there someone enters of exits (1 entered 0 exit).
4. Run a VBA macro that piks up all of the users who have entered the database.
Is this OK?
Number one is just a matter of copying code and pasting it into VB. I know its in the MS Knowledge DB.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.