clickaccess
MIS
Hi Gurus,
I'm new here so be gentle with me!
I am writing a database that will have a Master db and about 50 Slave dbs that will feed to the Master. I have figured out how to append from the slaves to the Master and it basically works.
Now, what I need is to do is to make it efficient in terms of Speed and Accuracy. I have decided to do most of the trimming on the slave side so it will be speedy. One of the task that I need help on currently is to determine the last record that was appended in the previous session on the slave side. I have decided to have a temp table that will store this record and when ever appending will consult this table and only append the newer records to the Master so as to eliminate duplicating on the master side.
The three field I want to check when this record is in the temp table are RecordID, EmpID, and the JobID.
So here is a summary of what I need:
To automatically write the last record of the session to a temp table (performed Slave side)
To consult the temp table with the main table to detirmine the new records for appending and then append to the Master (performed Slave side)
Thanks
I'm new here so be gentle with me!
I am writing a database that will have a Master db and about 50 Slave dbs that will feed to the Master. I have figured out how to append from the slaves to the Master and it basically works.
Now, what I need is to do is to make it efficient in terms of Speed and Accuracy. I have decided to do most of the trimming on the slave side so it will be speedy. One of the task that I need help on currently is to determine the last record that was appended in the previous session on the slave side. I have decided to have a temp table that will store this record and when ever appending will consult this table and only append the newer records to the Master so as to eliminate duplicating on the master side.
The three field I want to check when this record is in the temp table are RecordID, EmpID, and the JobID.
So here is a summary of what I need:
To automatically write the last record of the session to a temp table (performed Slave side)
To consult the temp table with the main table to detirmine the new records for appending and then append to the Master (performed Slave side)
Thanks