HELP!!! non subfile fields being recognized as a subfile

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Wayne C.
Experienced User
Posts: 139
Joined: Mon Aug 16, 2010 12:04 pm
First Name: Wayne
Last Name: Colasinski
Company Name: Sofworx / Tantara Transport
Contact:

HELP!!! non subfile fields being recognized as a subfile

Post by Wayne C. »

On our Iseries green screens, we have, as a custom (when there's room), stacked the user id, date and time on the first 3 lines of the screen in the upper right hand corner. For example:
user_id
08/17/10
12:12:00

In many cases, Genie seems to interpret the lower 2 fields (date and time) as a subfile... at the expense of an actual subfile being located in the body of the screen. Is there any way around this? I've been playing around with this and have resorted to going into the DDS and staggering/shifting the 3 fields so that they are not directly vertically alligned (therefore not having the appearance of being a subfile). In some cases this has worked. In one instance, though, Genie thinks there's a subfile in that location even when I move the fields.

I've also had a couple of instances on old-style menus where the last 2 items of the menus are being interpreted as a subfile.
Thanx again.

Wayne C.
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: HELP!!! non subfile fields being recognized as a subfile

Post by Alex »

By default, Genie will look at patterns to detect subfiles. Genie will look at the number of fields on a given line and the length of those fields. If there are two or more identically formatted rows, it will assume that this is a subfile.

For false positives, the functionality can be turned off by setting the "detect subfile patterns" property to false on that screen.

In our upcoming update of Genie, you will also be able to specify properties "subfile start" and "subfile end" to identify where subfile pattern detection should start and end. This way, you will be able to work around false positives that appear at the top of a screen that has a real subfile below.


Last bumped by Wayne C. on Tue Oct 05, 2010 11:28 am.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests