Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2005, 06:37 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Corey
Default Record date's of visits

Hello again,

I’ve decided to implement Microsoft Access’s security features, mainly because I needing to know who currently has the database open and if possible be able to date and times of visits

What I’m hoping someone can advice me with is being able to create a form that show’s everyone that currently had the database open and another form that can record past visits.

I know we can go into the code and enter “?CurrentUser” and see current users within the database.

Any help would be greatly appreciated

Thanks

Corey


 
Old December 1st, 2005, 03:50 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Hmmm, here is what I would do to just track visits.

Create a table that stores UserName and DateVisited.

Then on your main form that opens when you open the database, on the On Load or On Open event, capture:

Dim stUser As String
Dim dtDate As Date

stUser = CurrentUser
dtDate = Now()

Then pass them to the table

In this what you want? Or do you want to know who is creating and modifying records in your database?

HTH




mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a record row, not just the record. Coby Access VBA 1 April 30th, 2007 06:29 AM
Best way to track visits to a website Dink Classic ASP Basics 2 February 11th, 2007 06:50 PM
Calendar) Move to the Selected Date's Month Page AbrarNazeer ASP.NET 2.0 Professional 1 August 15th, 2006 07:36 AM
how to add new record as first record in dataset [email protected] ASP.NET 1.0 and 1.1 Professional 4 April 21st, 2006 05:23 AM
Record locking - user needs the next queued record cbtoolkit SQL Server 2000 0 December 6th, 2004 08:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.