×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 2/13/2011 12:37 PM, M. Lazarus wrote:
Joe,
Here's my dilemma. I basically have 2 requirements:
1) As described, the movement of the selected record to the top of
the page, essentially a position-to.
2) The default type of behavior from SFLRCDNBR, namely the display of
the proper page with the cursor positioned at that record.
Is it possible to have both behaviors using the SFL keywords or do
I have to pick one and program around the other?
-mark
As far as I know the answer is, unfortunately, "yes". But understand
that you're asking the system to do two different things: put the record
you want at the top, and put some other record on the top. Why do you
want two different behaviors?
But assuming you do want two different behaviors, you'll have to program
the latter. You'll have to figure out which record "should" be on top,
and then either use a DSPATR(PC) on a subfile field and condition it
with an indicator, or use absolute row and column positioning of the
cursor and calculate it yourself. To me, it's more trouble than it's
worth, but it can be done.
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.