Results 1 to 2 of 2

Thread: Per record metadata (Access)

  1. #1

    Thread Starter
    Hyperactive Member Quasar6's Avatar
    Join Date
    Mar 2008
    Location
    Sol 3
    Posts
    325

    Per record metadata (Access)

    (C# pro 2008, Access *.mdb file & an OleDb Connection)

    Hello.

    As part of a 2 database synchronisation program, I need to be able to detect the most recent/important changes.

    ~ Is it possible to retrieve the most recent date a record was modified via dot net? Does this data even exist? It would be invaluble when working out which records to replace/overwrite, if it does.
    ~ If yes, is there any other metadata I can retrieve?

    Also, is there a better way to synchronise two databases? I have a few specific requirements for this program (two seperately created records with the same GUID string should be considered as the same record, and be merged, for example), which is why I've not looked to heavily into pre-built synchronisation systems, like that in Access. If anyone's used them, I'd welcome your input.

    Thanks all!
    Qu.
    "Why do all my attempts at science end with me getting punched by batman?" xkcd.

    |Pong||
    Sorry for not posting more often.

  2. #2
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Per record metadata (Access)

    In lieu of centralized tracking of changes or history table/repository, you should implement audit columns in your table design, at the very least 4; updated by, last_update (date), created by, create date.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width