Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Global variable with recordsets

Posted on 2014-01-06
2
Medium Priority
?
305 Views
Last Modified: 2014-01-10
My task is to create a historical record of a database record change.  Example:  User opens a record.  Modifies it.  Saves it.  My history table should have record1, the original record before changes.  Then record2, the record after changes.

My plan:
User selects record to edit.
Save that record as in an array or recordset(?)
Edit record.
On save in history table save original record from array or recordset, then save new record.
Then save changes in original table.

There are about 50 fields.  I'm trying to avoid handling them one by one.

Does this plan make sense?  
Can I create a global recordset variable, save the original recordset to it, and then use it later?  Another way?  

Thanks,
Brooks
0
Comment
Question by:gbnorton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 2000 total points
ID: 39760476
Brooks,

 Have a look at the following:

http://allenbrowne.com/AppAudit.html

Which is a complete drop in Audit trail solution.

Jim.
0
 

Author Closing Comment

by:gbnorton
ID: 39771621
Thank you Jim.  Perfect.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

618 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