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

How to prevent subform updates / create session updates?

3
I need to add modification tracking to an existing database. It's effectively the same as the std. Orders/Order Details model so I'll use that for an example.

If a user makes a change to an existing order I need to be able to deactivate the original record and generate a new Order record. The same goes for any Order Details that are also changed. The idea is that users should be able to view what an Order looked like at a particular point in time.

If I create a standard Edit Order form with a linked Order Details subform then the records get updated whenever the user moves from Order field to Order Details field and from row to row in the Order Details subform. I would like to allow the users to make all changes to an 'Order' and then perform the save allowing me to code for the modification tracking records - tracking what changed during a user's session with the Order.

I don't want to just add code into the BeforeUpdate event as I can see a user making several changes to the Order Details rows, changing them back, and then I'd have historical records showing no changes or I compare all Updates against existing records looking for changes field-by-field.

Is there a way to disable/delay updates on a bound subform so I can act on everything being updated at one time?

Thanks in advance for comments/suggestions!
Dec 21 '10 #1
0 1100

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

Similar topics

1
by: Bill Strass | last post by:
Problem: Access main form/subform as front end to SQL Server backend. Add/edit via subforms work fine. Not so with main form. Set up a master-detail form-subform using two views linked from SQL...
0
by: RC | last post by:
Hi, I want to ask if I want to download a file from windows application and that file require user to login to own a session before download. How can I create a session from Windows Form...
1
by: tony collier | last post by:
Can someone please tell me how to create a session string array in global.asax (not code behind please). Thanks
0
by: antonyliu2002 | last post by:
I am not new to programming, but I am new to VB .NET. I have a multiselect listbox like this: Please select your favorite fruit: Apple Banana Coconut Date
3
by: ss | last post by:
hI, Where do I created the Session Related things in ASP.NET 2.0? How do I do that? Could anybody give some sample code? bye
1
nirmalsingh
by: nirmalsingh | last post by:
plz help me with sample code to create session variable in java script...
1
by: praveenvasudev | last post by:
Can any one guide me to create session and that session should expire in 10 min. with a msg. that session has been expired
0
by: kevinhint | last post by:
I have a dataSet in a C# class which in turn is saved in a Session variable. The dataset is intially loaded with SqlDataAdapters. As I go through various asp.net pages, I change data, etc. At the...
1
by: Bond | last post by:
Hi friends, I need to write a program , where i need to track the Session of each user by using Session ID . I request u all to please provide me the exact coding of using Session ID for...
0
by: newguy2008 | last post by:
hi all, I'm somewhat new to the .Net environment, my current project is a Windows app. with .Net 2.0(c#). One of the requirements is that it should have automatic updates where updates are...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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...
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
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...

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.