Solved

Need to add a column to MySql DataBase, where I can track the last user who made changes to the information.VB.NET

Posted on 2010-09-09
2
312 Views
Last Modified: 2013-12-25
I have a programm in VB.NET   that requires a correct log in, in order to access to it. Once the user has accesed to it, he can make changes to the information. I want to have a column where I can check who was the last that modified that information.


Thanks.
0
Comment
Question by:zandizza
2 Comments
 
LVL 6

Accepted Solution

by:
DalHorinek earned 500 total points
ID: 33642294
I guess you have an id of your users. So add a column last_id_user to the information table and on every change do something like

update information_table set last_id_user = <id_of_current_user>

Maybe I don't understand well the question.
0
 

Author Comment

by:zandizza
ID: 33642304
yes, that is exactly what I am looking for. To set a record of everyone who has update information.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 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

11 Experts available now in Live!

Get 1:1 Help Now