Focal Point
[Solved] Problem opening/displaying PDF reports with text fields

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7397091126

June 12, 2012, 02:48 PM
Deana
[Solved] Problem opening/displaying PDF reports with text fields
I am trying to convert reports from 7.6.8 to 7.7.03. The last report I need to convert prompts the user for selection criteria.

The datasource is SQL. The report displays multiple fields; one of which is varchar(max) in SQL. The focus master file desciption is USAGE=TX50, ACTUAL=TX.

In 7.7.03 - depending on the size of result set of the selection criteria my pdf will open. However, the text field never prints on the report.

In 7.6.8 - regardless of the size of the result set, the pdf opens. The entire text field is displayed, regardless of length.

Thank you in advance for your assistance.

This message has been edited. Last edited by: Deana,


WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively;
excel, html, pdf
June 13, 2012, 02:46 AM
GamP
This really seems to be an issue with that particular version of webfocus.
What I'd do is register a call with IB tech support to see if this is already a known problem and/or can be remedied.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
June 20, 2012, 10:40 AM
Deana
The solution was to change the definition from TX50 to AnV where n is the max size of the field. I believe the max is 4098. Thank you.


WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively;
excel, html, pdf
June 26, 2012, 01:21 PM
Deana
After running into other fields which contained data with more characters than the max for AnV fields, I did more research.

I added 'ENGINE SQLMSS SET CONVERSION LONGCHAR TEXT' to the edasprof.prf. This appears to have fixed my problem, allowing me to use USAGE=TX50, ACTUAL=TX for the sql varchar(max) fields.


WebFOCUS 7.6.8 and 7.7.03; Windows Server 2003 R2 and Windows Server 2008 R2, respectively; Development environments - Windows Server 2003 R2 and Windows 7 Professional, respectively;
excel, html, pdf