Options

SetRange in Dataport

Hi,

Primary: Boolean
Item: Code 20

I'm trying to import a CSV file using Dataport. This CSV file has multiple records.
I want to check if there are any records in the table before importing the CSV file, if so, then if their Primary field is true, then before importing the CSV File I want to set that Primary field to be false, otherwise just proceed to import all the records.

Can anyone help me with how would I SetRange and access the previous record and search for that field?
Any help would be appreciated.

Regards.
Sign In or Register to comment.