This is the reverse of the issue I had where the subfile showed one column but actually contained 4. Well sort of the the reverse. In that case the "column" actually was 4 columns. In this situation I have what appears to be 4 output columns in a subfile but is actually one wide column.
Here is the green screen and the Genie screens as well as the jcon.
Thank you.
Subfile shows 4 columns but only has 1
-
- Profound User
- Posts: 56
- Joined: Tue Jan 20, 2015 4:28 pm
- First Name: Raymond
- Last Name: Marsh
- Company Name: Cracker Barrel Old Country Sto
- Phone: 615-235-4215
- Address 1: PO Box 787
- City: Lebanon
- State / Province: Tennessee
- Zip / Postal Code: 37088
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Subfile shows 4 columns but only has 1
Are you certain that the underlying 5250 program isn't putting out just one column? Maybe the developers made the whole subfile record one long field and just space the data out so that it looks like separate columns? Genie, of course, will see the actual start/end of the actual fields, and think it's all one column.
Things should work fine with all one column, though.
If it's important to fix it, you can disable subfile detection for this screen and drag in a subfile and set the columns up the way you want them.
Things should work fine with all one column, though.
If it's important to fix it, you can disable subfile detection for this screen and drag in a subfile and set the columns up the way you want them.
-
- Profound User
- Posts: 56
- Joined: Tue Jan 20, 2015 4:28 pm
- First Name: Raymond
- Last Name: Marsh
- Company Name: Cracker Barrel Old Country Sto
- Phone: 615-235-4215
- Address 1: PO Box 787
- City: Lebanon
- State / Province: Tennessee
- Zip / Postal Code: 37088
- Country: United States
- Contact:
Re: Subfile shows 4 columns but only has 1
It probably is just one long field. I haven't tried to find the source code for the program. I ended up just having a one column subfile, which looks ok. the problem with it is I have to use a fixed width font like courier or monospace. I was using Arial for everything else, which looks a little better but there are alignment issues to address. For now it will be fine.
Is there a "fix" or technique for spliting the field up and loading it into a grid?
Is there a "fix" or technique for spliting the field up and loading it into a grid?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Subfile shows 4 columns but only has 1
As far as I can tell, there isn't anything to "fix" here. If the screen is sending the data as one large field, then Genie is behaving correctly in showing it as one large field. Not sure how Genie can possibly know what else to do with it?
You could split it up in Javascript code, of course. But, IMHO, I would just keep it one field and use the 'Consolas' font.
You could split it up in Javascript code, of course. But, IMHO, I would just keep it one field and use the 'Consolas' font.
Who is online
Users browsing this forum: No registered users and 0 guests