Focal Point
[Closed] TABT format issue

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

February 16, 2015, 05:10 AM
Penubarthi
[Closed] TABT format issue
Hi,

Is there a way to display a number(with decimal vaules) as number in TABT format. TABT converts the number to alpha.

Thanks
Krishna

This message has been edited. Last edited by: Penubarthi,
February 16, 2015, 07:25 AM
Alan B
Not sure what the issue is here. TABT is a format alpha type output. If a field is declared with decimal values, then TABT holds them with decimal places, albeit in alpha format. The MFD associated shows that it is held as alpha(ACTUAL) but should be used as numeric(USAGE).

Can you be more specific as to your issue please.


Alan.
WF 7.705/8.007
February 16, 2015, 08:13 AM
Penubarthi
I have a column to display amount field which is of the length 'A25'. And the column is getting right justified always, so when the user opens the report, the column looks blank.
Only after double clicking the top of the column I am able to see the data.
Is there any way to make it left justified?


Webfocus 7.7,
DB : Oracle, Teradata
O/P : PDF, Excel, EXL2K, Pivot
February 16, 2015, 10:12 AM
Alan B
What is the user opening the report in?

Numeric data is right justified, alpha data left justified, so your numeric data is displaying as expected.

You can use FPRINT to convert to alpha for left justification.


Alan.
WF 7.705/8.007
February 17, 2015, 01:33 AM
Penubarthi
Hi Alan,

I have converted the numeric value into alpha using FPRINT, but still it is right justified.
I'm unable to make it left justified.

User opens the report in xls format

Thanks
Krishna
February 17, 2015, 06:28 AM
Rifaz
Oh..please post your MFD or DEFINE field
TABLE FILE CAR
	SUM 
	COMPUTE SALES1/A20 = FPRINT(SALES, 'I6', SALES1);
	BY	COUNTRY
	ON TABLE PCHOLD FORMAT EXL2K
END



-Rifaz

WebFOCUS 7.7.x and 8.x
February 17, 2015, 07:22 AM
Tony A
quote:
User opens the report in xls format
MS Excel sees it as a number so will right justify the value - MS considers that it knows beter than the end user what the end user wants! Not helpful, but the problem is with how MS Excel interprets the data - not WebFOCUS! Frowner

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10