473,407 Members | 2,312 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,407 software developers and data experts.

Revision Tracking

Hello, I have a question about some MS Access issue I am having. My
goal is to make a field that will list any revisions to the data that
have been made and when they were made. I have it mostly working but
the one thing I can't figure out is how to list what the data was
before it was changed. Here is my code so far:

Me.txtRev = Me.txtRev & vbCrLf & Now() & " " &
Screen.PreviousControl.Name & "->" & Screen.PreviousControl

That is in the forms 'BeforeUpdate' event procedure. If anyone knows
how I could also store the value of what the field was before it was
changed, that would help. (I need it to work for ANY field that is
changed)

Thanks for any help you can give me.

~Brian
Dec 20 '07 #1
1 1848
Use the OldValue property of the text box.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Brian" <Br**********@gmail.comwrote in message
news:1e**********************************@s12g2000 prg.googlegroups.com...
Hello, I have a question about some MS Access issue I am having. My
goal is to make a field that will list any revisions to the data that
have been made and when they were made. I have it mostly working but
the one thing I can't figure out is how to list what the data was
before it was changed. Here is my code so far:

Me.txtRev = Me.txtRev & vbCrLf & Now() & " " &
Screen.PreviousControl.Name & "->" & Screen.PreviousControl

That is in the forms 'BeforeUpdate' event procedure. If anyone knows
how I could also store the value of what the field was before it was
changed, that would help. (I need it to work for ANY field that is
changed)

Thanks for any help you can give me.

~Brian
Dec 20 '07 #2

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

Similar topics

0
by: Richard Joseph | last post by:
I am looking for a method to keep track of revisions. I have developed many engineering database applications. Keeping tack of changes to fields is often required and I have never implemented a...
0
by: chris-list-python | last post by:
I'm using rcslib.py to massage an RCS repo. The code uses a "name_rev" object which acts two ways: 1. if it's a string, represents the head version of the file 2. if a tuple (name, rev)...
4
by: Burghew | last post by:
Hi All, I have 2 fields called document & Revision which contains the titles for the documents to be stored in the databse it gets filled up as the user enters them and the revison numbers...
13
by: IndianaJonesWB | last post by:
I have an Access Project as a front end for a SQL DB. I have a master copy and distribute copies of it to my other users. I would like to display a revision count on the first Main Form so that...
3
by: Kyle Friesen via AccessMonster.com | last post by:
Mike, I have databse that creates a "tracking number" based on the selections made on the form via concatenating. At the end of the tracking number, I need a two digit (01-99) sequence number by...
2
by: Mark | last post by:
In the AssemblyInfo.cs page of a ASP.NET project, there is a defaulted property of: It's my understanding that this indicates a Major Version of 1, a Minor Version of 0, and a Build and...
4
by: Pietro | last post by:
Thanks for the last answer, but now how can i restart the count of the Build and Revision numbers of a dll in VS.Net. Thanks Pietro
4
by: johnk | last post by:
I have a table of items, with revision numbers. I need to extract the items with highest revision number. The items may be listed several times and I don't know what the highest revision number...
6
by: Jean-François Michaud | last post by:
Hello, I'm having trouble figuring something out. I have to reproduce a PDF output and in the original document, "revision indicators" are used to show which parts of the document have changed...
3
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow...
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...
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:
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.