473,396 Members | 1,599 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,396 software developers and data experts.

How can i catpure a user login ID so i know who edited the db?

help me. i'm trying to cature a user login so i know who updated or edited the db .
Dec 12 '06 #1
7 1255
MMcCarthy
14,534 Expert Mod 8TB
help me. i'm trying to cature a user login so i know who updated or edited the db .
This depends on your login procedure. You will have to give a lot more information.
Dec 12 '06 #2
ADezii
8,834 Expert 8TB
help me. i'm trying to cature a user login so i know who updated or edited the db .
'Based on the assumption that you have multiple Logins, you can maintain a
'simple history of who logged into your Database at which times simply by:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2.   Open "C:\Log.txt" For Append As #1
  3.   Print #1, CurrentUser() & " logged on " & Date & " @ "; Format$(Now(), "hh:mm AM/PM")
  4.   Close #1
  5. End Sub
Output would be: Admin logged on 12/12/2006 @ 10:20 PM
Dec 13 '06 #3
NeoPa
32,556 Expert Mod 16PB
It's not clear exactly what you're after, but if you want the name the user logged into the PC as - then you could try
Expand|Select|Wrap|Line Numbers
  1. Environ("UserName")
which should return that value for you.
Dec 14 '06 #4
MMcCarthy
14,534 Expert Mod 8TB
ADezii

A little off topic but I was wondering if you could set up your PM facility. It would make it easier to contact you when I have questions I can't answer I like to let the forum experts know so they can take a look.

Mary
Dec 14 '06 #5
ADezii
8,834 Expert 8TB
ADezii

A little off topic but I was wondering if you could set up your PM facility. It would make it easier to contact you when I have questions I can't answer I like to let the forum experts know so they can take a look.

Mary
Mary:
I would be more than happy to set up my PM facility as soon as I know exactly what this is and how to set it up. Sorry for the ignorance on my part.
Looking forward to hear from you soon.
Dec 14 '06 #6
MMcCarthy
14,534 Expert Mod 8TB
Mary:
I would be more than happy to set up my PM facility as soon as I know exactly what this is and how to set it up. Sorry for the ignorance on my part.
Looking forward to hear from you soon.
Hi ADezii

On the top right of your screen there should be a welcome message as follows:


Welcome, ADezii. | 0 PMs | Control Panel | Buddy List | Log Out


The first link on mine says 0 PMs yours may be slightly different as you haven't set it up yet. When you open it you should be given a set up procedure. Let me know if you've any problems.

Mary
Dec 14 '06 #7
NeoPa
32,556 Expert Mod 16PB
At the top click on 'Control Panel'.
At the left click on 'Edit Options' under 'Settings & Options'.
Under the 'Messaging & Notification' block tick each of the three boxes.
Go to the bottom and Save Changes.

BTW this means that the MaryBot has noticed you - Congratulations.
Dec 14 '06 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: | last post by:
Please help. After a number of wrong turns and experiments I need advice on login management system to secure our web pages without inconveniencing our visitors or our internal staff. What I...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
6
by: Angelos | last post by:
Hello, I am developing a CMS and I would like to be able when a user is editing a page to inform any other user that the page is being edited by User X . Ofcourse that's not so difficult if you set...
4
by: rrober07 | last post by:
Hello, My Setup is I have a Web Server machine(Devweb01), Database SQL Machine(Devsql01), a Client Machine(local machine) I have configured the SQL machine as follows: 1) Added local Aspnet...
19
by: Siobhan | last post by:
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their...
7
by: Samuel | last post by:
Hi, I am building a page that makes use of user control as a templating technique. The following is that I have in mind and it is actually working: Root/ -- login.aspx -- login.aspx.vb --...
6
by: Not Me | last post by:
Hey, We have an sql server 2000 machine and IIS 6 machine running seperately but on the same domain. I can connect fine to the database without using impersonation, but when it's enabled I get...
3
by: andy | last post by:
dear all, how to know some fields were modified by user? list bellow my project: components: DataGridView,DataSet when user change the DataGridView colmons field value,we can use...
9
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.