× 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.



That is exactly what I did when updating the interface of a product at RJS - made the field for the name a certain length that fit the real estate, then if a value were within a couple characters long as the length of the field, put in a couple >> at the end and have an F22 that will show the whole value, if the cursor is IN that field of the subfile record.

This requires the use of a couple interesting keywords, so that you can get the position of the cursor, for example. Things like returning the field name or row-column position - they're available in different ways, some, IIRC, are specific to subfiles, some not.

HTH
Vern

On 9/12/2013 4:10 PM, Monnier, Gary wrote:
Why not use the WRKLNK method - F22=Display Entire Field - where a window pops up with the entire object link.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Thursday, September 12, 2013 1:59 PM
To: 'Midrange Systems Technical Discussion'
Subject: Quick question about subfiles

I've got a situation where I'm using a subfile on an 80-column screen as a table/schema selection prompt in my JDBCR4 project, where I'm listing perhaps hundreds of items that will usually have names that will easily fit in one line, but could theoretically have names up to 128 characters long.

Displaying the records all folded gives a funny-looking screen display with lots of wasted space, but displaying them all truncated could leave long names cut off.

Obviously, I could simply let the user switch between SFLFOLD and SFLDROP for the entire screen, but I was wondering if there was an easy way to selectively fold the records with long names, and drop the ones with short names.

One thought that occurred to me would be to display the excess length on a second subfile record with the selection column field suppressed. Has anybody done anything like that? Is there an easier way to accomplish the desired goal?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.