Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm writing a SFL program which nee

Status
Not open for further replies.

PeteJohnston

Programmer
Nov 6, 2002
291
GB
I'm writing a SFL program which needs to show a lot of data but SFLDROP isn't an option, so I thought I'd use a 27x132 size display format. This works fine if the Client Access session is configured to accept this display size but you get CPF4169 when it tries to open the display if it isn't. Also, some of the older screens don't have this option, in which case they wan it just to generate a similar looking report.

I've tried using a call to an external procedure QsnRtvMod which shows what the display mode is but, unfortunately, it only shows the current mode, not whether the session is capable of displaying 27x132.

Has anyone heard of/used another procedure or API which can be used to determine whether the session is capable of displaying 27x132 ?
 
By "lots of data" you many columns?

What's wrong with providing a function key that will allow for a toggle of different sets of columns?
 
I need to show planned and actual quantities for the previous three days, warehouse, item, description, the next seven days production, the following two weeks, total production for the week and the on-order quantity. That's 15 * four digits plus 3, 12, 25 for warehouse, item, description with a space between each column. Lots of data and, unfortunately, the user needs/wants to see all of his production plan at the same time.

Anyway, I solved the problem by defining the WORKSTN file as USROPN and then doing
Code:
C           Open (E)   SCREEN
C           If         %ERROR
C           Call       'ReportProg'
C           Eval       *INLR = *ON
C           Return
C           EndIf
so I don't really need to find an API, although it would be nice because I suppose there could be other/different errors which happen when I try to open the WORKSTN file.

Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top