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

Form data change capture

553 512MB
Hi

I know i have posted similar question before but there is something i need to ask further to that.

If you have many text-boxes on the form and you want to check if any changes to the data in the textfields is made , how would you capture the changed data (the new data) . And if you want to capture the old data as well (the one that got changed later)

Capturing will be just storing it in another variable or assigning to a field in table.

Any ideas ?

Thanks
Qi
Aug 24 '07 #1
3 3535
missinglinq
3,532 Expert 2GB
What you’re talking about is creating an audit log table, which is not an easy endeavor. I would suggest searching here and googling this term. But from other posts here you’ve been told how to tell Has data been changed and How to loop thru controls.

So, if any data in a record has been changed, loop thru the controls and compare the old value (MyControlName.OldValue) with the current value (MyControlName.Value) and if they’re different, assign them in whatever fashion you want to an audit table.

Linq ;0)>
Aug 24 '07 #2
questionit
553 512MB
Thanks missinglinq..
What you’re talking about is creating an audit log table, which is not an easy endeavor. I would suggest searching here and googling this term. But from other posts here you’ve been told how to tell Has data been changed and How to loop thru controls.

So, if any data in a record has been changed, loop thru the controls and compare the old value (MyControlName.OldValue) with the current value (MyControlName.Value) and if they’re different, assign them in whatever fashion you want to an audit table.

Linq ;0)>
Aug 24 '07 #3
missinglinq
3,532 Expert 2GB
As I said earlier, tracking these kinds of changes is not for the faint of heart, but Allen Browne gives an excellent explanation of how to Create an Audit Log at this site.

Linq ;0)>
Aug 24 '07 #4

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

Similar topics

5
by: NK | last post by:
Hi, We have a webpage that has a form available on the intranet. A user will have a window open that runs a different application open. When the user accesses the webpage and clicks a button we...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
16
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
2
by: Elmo Watson | last post by:
Control1 is on Form1 on Form two - I'd like to access the instanciation of that control (Control1), using different properties & methods Is there a way, in VB.Net, to refer to a control on...
15
by: Jack | last post by:
Hi, I have a asp form where one element is a list box which lists four years starting from 2004. This list is drawn from a database table which has YearID and Year as two fields as shown below:...
1
by: BlackFireNova | last post by:
I'm using Access 2003, on Windows XP Pro. I have a subform which is launched from a command button on my main form. When this form opens, I have 2 fields which I have inserted VBA Code into to...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
4
by: Greg Scharlemann | last post by:
I'm trying to setup a dyamic dropdown list that displays a number of text fields based on the selected number in the dropdown. The problem I am running into is capturing the data already entered...
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:
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
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.