Browse lookup

Jose Lerebours fpgroups at gmail.com
Thu Jul 23 06:00:12 PDT 2009


On Wed, Jul 22, 2009 at 1:09 PM, Richard Kreiss <rkreiss at verizon.net> wrote:

> Writing an cash application routine which uses a browse lookup to list all
> open transactions.  The use highlights the item to be paid, presses <P> to
> apply the payment amount.
>
> My problem is that some payments to be applied are larger than the current
> amount due and I want to apply the balance to the next transaction.
>
> Since I use a drop with the browse so paid items are not listed, I added
> code which would read into an array the record #'s of the transactions
> selected.  The maximum number of open items should be no more than 24.
>
> The array was filled with the record #'s but they were not in the sequence
> of the displayed transactions.  What should have been the number 4 item was
> actually in the 11th element of the array.
>
> Short of doing a lookup next using the browse index for sequencing, does
> anyone have a better idea of how to approach this?
>
> The may be a Ken question, is there a way to access the system array that
> hold the record numbers of the records in the browse display window?
>
>
> Richard Kreiss
> GCC Consulting
> rkreiss at gccconsulting.net
>
>
> 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?

I have never used built in browse for anything beyond a @wlf type of routine
to validate or aid data entry.

Regards,


Jose Lerebours
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090723/f9128738/attachment.html 


More information about the Filepro-list mailing list