<div dir="ltr"><div>I will have ongoing csv files that I need to import into a filePro database</div><div><br></div><div>The beginning of each line is static, in that it will say one of 4-5 things - based on field 1, it goes to a different part of the import</div><div>There is one that will start with   'Charges|'   (it's a pipe delimited file)</div><div>The 2nd field is used to look up the record</div><div><br></div><div>Each record in filePro can have up to 40 charges in it</div><div><br></div><div>Since the inbound csv file won't necessarily be sorted in order of field 2 (the key to lookup the record) - is there a simpler way to know which field to put the new charge in vs having to say</div><div><br></div><div>if charge field 1 is not "" but charge field 2 is blank, then put this charge in field 2 and so on?</div><div>The bottom line will be if all 40 charge fields are not empty, it will skip the record (which I have that part - ) just wondering if there's an easier way I'm not thinking of than to 'step' through each charge field until I find the first empty one....</div><div><br></div><div>thanks</div><div>Scott</div><div><br></div><div><br></div></div>