473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MS Access Query monitor

Hi,
Is it possible in MS Access to view at a given time how many users are
accessing the Access database and gain visibility into which query (s)
they are using...?

Feb 19 '07 #1
2 3909
DM*******@gmail.com wrote:
Hi,
Is it possible in MS Access to view at a given time how many users are
accessing the Access database and gain visibility into which query (s)
they are using...?
Yes, and no*, in that order.

For the "who in the database" question you can use a number of methods
for peeking into the locking file to see who has the database open.
Google "ldb viewer" for ideas. You can also capture and record logins
and logouts with code such as "fOSUserName" fired on open and close events.

*Since queries are executed on users' machines I suspect it would be
rather tricky to know who is using a particular query at a given moment,
but if you carefully control access to queries (e.g., by only allowing
access through a form) you could capture fOSUserName in events
associated with firing the queries.

--
Smartin
Feb 20 '07 #2
On Feb 19, 5:51 pm, Smartin <smartin...@yahoo.comwrote:
DMogad...@gmail.com wrote:
Hi,
Is it possible in MS Access to view at a given time how many users are
accessing the Access database and gain visibility into which query (s)
they are using...?

Yes, and no*, in that order.

For the "who in the database" question you can use a number of methods
for peeking into the locking file to see who has the database open.
Google "ldb viewer" for ideas. You can also capture and record logins
and logouts with code such as "fOSUserName" fired on open and close events.

*Since queries are executed on users' machines I suspect it would be
rather tricky to know who is using a particular query at a given moment,
but if you carefully control access to queries (e.g., by only allowing
access through a form) you could capture fOSUserName in events
associated with firing the queries.

--
Smartin
You could do this by using an interface that effectively replaces the
normal Access UI. There's an example and the code in one of the
Access Developer's Handbooks. Not sure which version - probably
Desktop (not Enterprise).

Feb 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: jason | last post by:
Hi Ray...a while ago you explained an elegant solution to enable me to CREATE and EDIT existing tables and queries inside my online access 2000 database.... could you provide refresher links on...
0
by: Morten Gulbrandsen | last post by:
Hi programmers, Good morning ;-) I think something is wrong, Running windows I believe first I have to set some password, Which creates some user, Then I can grant the required privileges, for...
29
by: Mark B | last post by:
We have an Access app (quite big) at www.orbisoft.com/download. We have had requests by potential users to have it converted to an SQL version for them since there corporate policy excludes them...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
1
by: Paul Wagstaff | last post by:
Hi folks, Please forgive me - this straddles Access & Word '97 If I could, I'd send a (approx 1000 records) recordset to Word, mailmerge it & save the new document. However, Word's...
9
by: Roger Down | last post by:
Lets say I have a method UpdateCache() called from a single thread. I also have a method GetCache() called from multiple threads. When UpdateCache() is called, the cache updating is being...
3
by: Jim in Arizona | last post by:
I have a gridview that's being populated from an access db query. The problem I'm having is that the date/time fields in access that are populating the gridview are showing both date and time, when...
7
by: mike | last post by:
We have numerous Access 97 apps that we run on our Terminal Server, but two apps in particular is giving us a problem. The problem we are running into is when you select a drop down menu, it errors...
1
by: rickzh | last post by:
Please help me creatng a query I've got 1 table called PRODUCT containing all my hardwareitems Some hardwareitems belongs to another hardwareitem. For example a monitor belongs to a PC. There could...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.