5 replies
by lo
Hi - if you have/controll (or have access to) the code that is doing the update, modify it and the table for a 'changed' field. You can just put a code (A=Added, C=Changed, D=Deleted, etc.) or a date/time of last change (Add & Delete are 'changes'). Given you have that you can search the table for the code or for records that have a date/time since the last time you ran the maintenance.
To get what changed there are many ways. One would be to keep a second table (or database) (same fieldsmaster). Before you update the master, copy the current record to the change table. For records that changed in the master, do a field/field compare and print a report of the differences (or just print all fields for each table, one over the other). Not specific example but ... lo
by dana803
by donq
If your download ALWAYS has the same name and structure I suggest you take the last download available and do a "Make Table" query naming it "whatever". Then add a new field "LUD" (for last update) and assign it Date/Time with the default set to Now() and formatted "General Date". This will automatically create a new timestamp every four months if you do an "Append" query to add records, "Update" query to revise records, and compare to list deletions followed by a "Delete" query to update "whatyever". Then just throw the new import away and base your report on LUD values greater than Now() + your delete listings. Hope this helps and you only need to update the 4 fields I guess? It should make "whatever" a little smaller and faster?
Don Quigg
by dana803
by dana803
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending