Focal Point
[TECHNIQUE] Two Interesting tips !!!

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

September 26, 2011, 06:40 AM
Ramkumar - Webfous
[TECHNIQUE] Two Interesting tips !!!
Here are two intersting things which I found during the development of my current report.

Some might be aware... Still

Tip # 1 :

Whenever you are using a single columns HOLD file in Where clause of TABLE FILE Request, The data type of that column should not be varchar. A15 will work where in A15V wont work.

Tip # 2 :
Whenever you have MARKUP=ON in PDF and do the styling, the negation bracket will not work with numeric columns. Even D15B wont show the brackets in the data. So with MARKUP=ON, Brackets can't be shown for negative values. It interprets B in a different way like a HTML tag.

Thanks.

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


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
September 26, 2011, 07:24 AM
Wep5622
quote:
Originally posted by Ramkumar - Webfous:
Whenever you are using a single columns HOLD file in Where clause of TABLE FILE Request, The data type of that column should not be verbose. A15 will work where in A15V wont work.


The 'V' is not for 'verbose', but for 'variable length'. In database terminology it's CHAR vs. VARCHAR. There is nothing verbose about such fields.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
September 26, 2011, 08:27 AM
njsden
Variable-length alpha fields (AnV) have some other limitations in functionality when compared to their counterpart alpha (An), for instance, you cannot used them as the first BY field in a report request if you intend to burst results via Report Caster.

That limitation is documented but still took me a good few minutes (more than a few actually) to figure out the hard way ... until I RTFM and found about it ... well, not the "FOCUS" manual but the Report Caster one Wink



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
September 27, 2011, 01:03 AM
Ramkumar - Webfous
quote:
The 'V' is not for 'verbose'


That was a Typo.. Corrected now... Thanks Wep for intimating.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
September 27, 2011, 01:05 AM
Ramkumar - Webfous
quote:
you cannot used them as the first BY field in a report request if you intend to burst results via Report Caster.


Hi Njsden , Thatz another cool tip. Thanks for sharing.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5