G
Guest
Hi all
I have created an offline version of our expenses system for our field
staff. They all use laptops which are never connected to the network. They
will be sent a database containing two tables as transfer files. One will
contain the Itinerary data we send them and the other will contain the
Expenses data which they send us (related to the Itinerary table which has a
unique autonumber). When we import their expenses back in to the live system
in the office we need to ensure the data is not being duplicated. The key on
the Live Expenses table is an autonumber (ExpID), no other key can be created
as other duplication could be valid. Basically I think what I need is an
additional unique reference against their expense record in the offline
system which is transferred to our live system, that way the system can check
it doesn't already exist before the import.
Hope this is making sense?
Just want to ask the best way of doing this - maybe on 'before update'
concatenate the PurchasedBy (unique person ID) AND Autonumber (ExpID) as a
unique reference and store in a new field ExpRef ?
Thanks in advance for any help.
Sue
I have created an offline version of our expenses system for our field
staff. They all use laptops which are never connected to the network. They
will be sent a database containing two tables as transfer files. One will
contain the Itinerary data we send them and the other will contain the
Expenses data which they send us (related to the Itinerary table which has a
unique autonumber). When we import their expenses back in to the live system
in the office we need to ensure the data is not being duplicated. The key on
the Live Expenses table is an autonumber (ExpID), no other key can be created
as other duplication could be valid. Basically I think what I need is an
additional unique reference against their expense record in the offline
system which is transferred to our live system, that way the system can check
it doesn't already exist before the import.
Hope this is making sense?
Just want to ask the best way of doing this - maybe on 'before update'
concatenate the PurchasedBy (unique person ID) AND Autonumber (ExpID) as a
unique reference and store in a new field ExpRef ?
Thanks in advance for any help.
Sue