A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

create a history of changes



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 4th, 2005, 01:30 AM
MarkInSalemOR
external usenet poster
 
Posts: n/a
Default create a history of changes

I suspect the answer exists somewhere but after half-an-hour I haven't found
it yet, so if it's a duplicate point me to the right place. :-)

I need to keep a history of changes to a record. I can do this in Visual
Basic with an unbound form but the overall process is complex and my time
frame is tight so I'm hoping I can do it with a bound form. In examining my
design I've got to check for 5 scenarios on my save, in looking at it a bound
form with 3 bound sub-forms could do the same job and be conceptually simpler
and take a day or so less to produce.

What I need to do is display the current record for the user to edit. When
they are done editing I need to mark the former current record as a history
record and save the edited record as the current record. Essentially making
the edited record a new record and keeping the original record intact. To
tell the records apart I have a current record flag (boolean) and I use a
sequence number. So all records in a history sequence share the same primary
ID and each record created over time increments the audit number field. So
record 1 comes in and is record 1.1, it's edited and adds record 1.2, and so
on. Yes I could dispense with the flag and just look for max audit number,
I've found the flag to be a convenience when I just want the current record.

So, can this be done with a bound form? So it saves when the customer clicks
the next or previous buttons or closes the form. Or should I slog through the
VBA method?

Thanks
Mark



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Should be able to create a merged letter document and envelope do. ErieZoo Mailmerge 1 December 9th, 2004 12:43 AM
How do I create two one to many relationships justindula Database Design 5 December 1st, 2004 09:18 PM
How to stop Create Adobe PDF message when starting Word? jeffdee General Discussion 3 November 19th, 2004 07:44 AM
Need help: Can't create ADP Database in MSDE from MS Access Lou Arnold General Discussion 0 July 21st, 2004 04:54 AM
Reply Without History JME General Discussion 1 June 1st, 2004 09:46 PM


All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.