原文:http://support.microsoft.com/kb/285822How to determine who is logged on to a database by using Microsoft Jet UserRoster in Access 2002 or in Access 2003
This article was previously published under Q285822
For a Microsoft Access 2000 version of this article, see 198755.
Advanced: Requires expert coding, interoperability, and multiuser skills. This article applies only to a Microsoft Access database (.mdb). IN THIS TASK
SUMMARYThis article shows you how to use Microsoft Visual Basic for Applications to output a list of users who are logged onto a database. Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and the tools that are used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, visit the following Microsoft Web site: For additional information about the support options available from Microsoft, visit the following Microsoft Web site: When you use the following sample code, the following information is returned:
back to the top ProcedureTo determine who is logged onto a database, follow these steps:
APPLIES TO
|
|站长邮箱|小黑屋|手机版|Office中国/Access中国
( 粤ICP备10043721号-1 )
GMT+8, 2025-4-4 05:17 , Processed in 0.071408 second(s), 17 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.