<div dir="ltr">Thanks Josh - I do know Nancy does a lot of import/export stuff as do I :)<br><br></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, Oct 31, 2019 at 4:54 PM Josh Reader via Filepro-list <<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Hi Scott,<br>
<br>
I remember Nancy saying something at the conference about @AF if you have associated fields.  I haven't used that command yet but possibly if you associate all 40 fields you could use something like if A1 eq "" and then use @AF to tell you what that blank field number is to be able to write to it?  Hopefully she'll post if that would be possible with your scenario.  I have a note from the conference saying to look into @AF but I haven't had a chance to experiment yet.<br>
<br>
Josh<br>
<br>
<br>
-----Original Message-----<br>
From: Filepro-list <filepro-list-bounces+josh.reader=<a href="mailto:mercuryelectronics.com@lists.celestial.com" target="_blank">mercuryelectronics.com@lists.celestial.com</a>> On Behalf Of scooter6--- via Filepro-list<br>
Sent: Thursday, October 31, 2019 4:36 PM<br>
To: filePro Mailing List <<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>><br>
Subject: import question<br>
<br>
I will have ongoing csv files that I need to import into a filePro database<br>
<br>
The beginning of each line is static, in that it will say one of 4-5 things<br>
- based on field 1, it goes to a different part of the import<br>
There is one that will start with   'Charges|'   (it's a pipe delimited<br>
file)<br>
The 2nd field is used to look up the record<br>
<br>
Each record in filePro can have up to 40 charges in it<br>
<br>
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<br>
<br>
if charge field 1 is not "" but charge field 2 is blank, then put this charge in field 2 and so on?<br>
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....<br>
<br>
thanks<br>
Scott<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20191031/b137ff56/attachment.html" target="_blank" rel="noreferrer">http://mailman.celestial.com/pipermail/filepro-list/attachments/20191031/b137ff56/attachment.html</a>><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank" rel="noreferrer">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
</blockquote></div>