<br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 1:09 PM, Richard Kreiss <span dir="ltr">&lt;<a href="mailto:rkreiss@verizon.net">rkreiss@verizon.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Writing an cash application routine which uses a browse lookup to list all<br>
open transactions.  The use highlights the item to be paid, presses &lt;P&gt; to<br>
apply the payment amount.<br>
<br>
My problem is that some payments to be applied are larger than the current<br>
amount due and I want to apply the balance to the next transaction.<br>
<br>
Since I use a drop with the browse so paid items are not listed, I added<br>
code which would read into an array the record #&#39;s of the transactions<br>
selected.  The maximum number of open items should be no more than 24.<br>
<br>
The array was filled with the record #&#39;s but they were not in the sequence<br>
of the displayed transactions.  What should have been the number 4 item was<br>
actually in the 11th element of the array.<br>
<br>
Short of doing a lookup next using the browse index for sequencing, does<br>
anyone have a better idea of how to approach this?<br>
<br>
The may be a Ken question, is there a way to access the system array that<br>
hold the record numbers of the records in the browse display window?<br>
<br>
<br>
Richard Kreiss<br>
GCC Consulting<br>
<a href="mailto:rkreiss@gccconsulting.net">rkreiss@gccconsulting.net</a><br>
 <br>
<br>
</blockquote></div>Why not write a routine where as the transaction are loaded to array(s) and display these array(s) in a browse like format and use waitkey to control screen flow?<br><br>I have never used built in browse for anything beyond a @wlf type of routine to validate or aid data entry.<br>
<br>Regards,<br><br><br>Jose Lerebours<br><br>