<div dir="ltr"><div>I was using a different index in my output other than a1) - I think that did the trick....</div><div>I knew I was brain farting on something lol</div><div>thanks all</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 22, 2015 at 5:25 PM, Mike Schwartz via Filepro-list <span dir="ltr"><<a href="mailto:filepro-list@lists.celestial.com" target="_blank">filepro-list@lists.celestial.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> I have created a file that can have up to 12 credit card transactions<br>
dated<br>
> today or in the future...<br>
><br>
> So each morning I want to send the current dated ones to be processed but<br>
> think I'm having a brain cramp on this...<br>
><br>
> I have 12 fields that are date fields (each shows as a1) Date of 1st Pmt<br>
> a1) Date of 2nd Pmt, etc...then each has it's corresponding amount....<br>
><br>
> How would I select records dated just today and grab the corresponding<br>
> amount for that date?<br>
><br>
> I have the index built and can search by that day, but do I need to 'step'<br>
> though each of the 12 dates and if it matches today grab the amount in the<br>
> amount field for that day?<br>
><br>
> I tried this and am exporting these records but it only exports the last<br>
record<br>
> it finds with today's date??<br>
><br>
> Scott<br>
> PDM<br>
<br>
</div></div> Whenever you want multiple export lines to be written to the export<br>
file from within one filePro record you have to use a "write" command to<br>
"force" the write of the exported line out to the file.<br>
<br>
You don't have to "step" (loop) through the 12 fields if you use @AF<br>
(associated field instance). @AF knows which date instance (1-12) caused<br>
the index building to select the record.<br>
<br>
Mike Schwartz<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">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>
</div></div></blockquote></div><br></div>