J
Jamie Longmire
Hi everyone,
I want to import some data from an external source into a table but only if
it has not already been imported. Here is the structure
TableName "MobilePhoneData"
ID - Primary Key
CallDetails
BillRegisterID
TableName - "BillRegister"
ID - Primary Key
IssueDate
FileName
BillRegister.ID and MobilePhoneData.BillRegisterID are joined via a One to
Many relationship.
I want the import routine to verify if the filename selected to be imported
already exists in BillRegister. If it does it will not import the data into
the MobilePhoneData table. If the filename does not exist then it will
create a new line item in BillRegister with the issue date and filename and
import the data into MobilePhoneData with the BillRegister.ID value being
place in the MobilePhoneData.BillRegisterID field.
Any pointer are much appreciated.
Regards,
Jamie
I want to import some data from an external source into a table but only if
it has not already been imported. Here is the structure
TableName "MobilePhoneData"
ID - Primary Key
CallDetails
BillRegisterID
TableName - "BillRegister"
ID - Primary Key
IssueDate
FileName
BillRegister.ID and MobilePhoneData.BillRegisterID are joined via a One to
Many relationship.
I want the import routine to verify if the filename selected to be imported
already exists in BillRegister. If it does it will not import the data into
the MobilePhoneData table. If the filename does not exist then it will
create a new line item in BillRegister with the issue date and filename and
import the data into MobilePhoneData with the BillRegister.ID value being
place in the MobilePhoneData.BillRegisterID field.
Any pointer are much appreciated.
Regards,
Jamie