Solved

Communicating with users currently in Access

Posted on 2011-03-15
11
335 Views
Last Modified: 2012-05-11
Can users in currently in an Access Database be communicated with?  for example if I wanted to ask them to come out of the database whilst I carried out maintenance, sending them a message on the Access Screen.  
0
Comment
Question by:JSSenior
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 11

Accepted Solution

by:
SeanStrickland earned 200 total points
ID: 35138502
We do this in my office.  What's your knowledge level of VBA and Form Events?

Quick example of what I do:
1.  I have a table called "tblLogout".  It has 1 "yes/no" column called "Logout"
2.  I have a small VBA script run on a form timer event every 30 seconds that checks to see if that "Logout" field is checked"
3.  If it's checked, the script can pop up an alert requesting that the user log out of the database.
0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 200 total points
ID: 35138556
You can do this if you build a function that looks for a message (so, a record)  in a specific table and pops that message up in a message box .  You have to make sure the function runs regularly, which you can do using a hidden form running a timer event say, every 2  minutes.
 You then write the message record when you want users to take notice.
You can't force them to do anything about it though, although you could also build in an automatic closedown for say 10 minutes after the first dispaly of the message.
0
 
LVL 84
ID: 35139219
Note that if you use a MsgBox as your alert, this can cause you to have troubles IF there is no one at the workstation (since the MsgBox is modal and Access will refuse to close).

Along the lines of what Peter said:

http://www.databasejournal.com/features/msaccess/article.php/3548586/Auto-Logout-Users-for-DB-Maintenance.htm
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 35139467
Agreed -- LSM's link is very similar to what we actually implemented for update-sensitive databases in our org.  That's where I was leading with my initial question of VBA/Form Event knowledge.

The link provided from dbjournal is a great resource for anyone trying to do this.  Good find, LSM.
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 100 total points
ID: 35139722
Right here:

http://www.peterssoftware.com/fsd.htm

Free and it works.  Not only have I tested it, but I not have FSD control over 25 db's - taking this concept and expanding on it.

mx
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35140166
This too:

http://www.fmsinc.com/MicrosoftAccess/monitor.asp

Not free, but has many other features you may be interested in.
0
 
LVL 75
ID: 35140189
Yes, I actually have that and use it also throughout the day, along with another similar tool. If fact, FMS added the multi-db viewing based on my suggestion ...

mx
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35140557
<multi-db viewing>?
0
 
LVL 75
ID: 35140582
Prior to the A2010 version, you could only select one db at a time.  Now you can select as many as you like.  Since I monitor 25 backends, this is a major improvement ...

mx
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35141327
OK
0
 
LVL 75
ID: 35141354
The FMS app is a very nice program with a nice UI.  I have some additional features I am requesting.  I still mainly use the Frank Hilton LDB Viewer because it's connected to an mdb, wherein I can load in the actual user names, sup names, email and PAX #'s ... that correspond to the Device ID.  But ...this is no longer available (it was free) ... and down the road, it will not work with ACCDB's


mx
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now