Im new to loops and hope someone can help with what should be a simple solution.
I have a table with Location information imported from another database, the user can change the locationcode to a new value, this "new "value is stored (as well as the original value) in a log table as logtbl.OldValue, logtbl.Newvalue, logtbl.datestamp.
Users can update the Locationcode many times, periodically a new import occurs of inventory data, however the "new" data references the original locationcode so I need to match the locationcode with the first OldValue from logtbl and loop through the records to find the last entry, and then validate that it exists in the Location table, if that makes sense?
Any help would be appreciated.
Kev
I have a table with Location information imported from another database, the user can change the locationcode to a new value, this "new "value is stored (as well as the original value) in a log table as logtbl.OldValue, logtbl.Newvalue, logtbl.datestamp.
Users can update the Locationcode many times, periodically a new import occurs of inventory data, however the "new" data references the original locationcode so I need to match the locationcode with the first OldValue from logtbl and loop through the records to find the last entry, and then validate that it exists in the Location table, if that makes sense?
Any help would be appreciated.
Kev