On Thu, 3 Aug 2006 18:14:53 -0400, "rg" <rg01[ at ]goodnews.net> wrote:
[Quoted Text] >I have inherited a database that was converted to use replication. The >original database was split into a UI database (forms, reports only) and a >database containing data (replica). The UI links to a replica on users >workstations. > >The system works well and replication has been a great success. We do not >want to modify the existing UI (forms) because all works well. > >How can I accomplish the following - when a user has made changes to table >data, via the original forms in the UI, and without changing the forms in >the UI, I would like to determine which records have been modified before >the user synchronizes, in order to log information and store that >information in a different table. > >Synchronization is handled via VBA code so there is an opportunity to look >at records in the table to determine which records have been changed. Can >I determine this by looking at the additional fields Access adds to a >table, once a synchronization has been completed? > >Thank you. >
If I recall correctly, the s_Generation field (hidden) in each replicated table will have a non-zero value if it has been changed, and a zero value if it's been synchronized with another replica. I've never used it -- just poked around enough to pique my curiosity. You could probably use this field to determine which records are about to be synchronized.
Use the Tools > Options menu item to reveal the various hidden objects in your database. Proceed cautiously!!!
-- jackmacMACdonald[ at ]telusTELUS.net remove uppercase letters for true email http://www.geocities.com/jacksonmacd/ for info on MS Access security
|