Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Multilingual : Label of heading ou label of subtotal

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Multilingual : Label of heading ou label of subtotal
 Login/Join
 
Member
posted
I'm building a multilingual report with DB2 Web Query and Developer Studio to edit my synonyms and change a couple of things in the webfocus report.


I think to use the multilingual function of WEB query to translate the title of columns but i'm blocked about the heading and subtotals labels.

In fact, I know it's concerning the manipulation of datas, so I'd like to know if it's possible that Webfocus retrieve me the title or the description of my field.
And in reality the description or the title will be my labels...

I don't know if I'm clear ??

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


WebFocus Release : 763
OS/Platform : AS/400 (v6r1)
DB2 Web Query for system i, pack service : 6

 
Posts: 3 | Location: France | Registered: May 14, 2009Report This Post
<JG>
posted
If the required information is in a table/file
extract them and populate them into variables and use something like

Table file whatever
HEADING
"&variable1 &variable2"
print field
by sort1
by sort2
on table subtotal as '&variable3'
end
 
Report This Post
Member
posted Hide Post
Thank you for your answer


I've already seen this possibility but if I have to tranlate my labels without passed by a data retrieval. So maybe, I could put the translations directly in the Webfocus code and change my variable according to my language code.

Else,
how did you do to include the result of a SQL request in a variable, for example to be used by the subtotal label?


For example:
quote:

SQL
SELECT NOMLIB
FROM FACT_QRY_LBLFA2
WHERE OID='00LIBT.FACOE01.037';
END

TABLE FILE FACT_QRY_LBLFA2
END


-*-SET &RESULT_requestSQL = SQL SELECT NOMLIB FROM FACT_QRY_LBLFA2 WHERE OID='00LIBT.FACOE01.037'; (Not possible but basically, it's I want to do)

TABLE FILE FACT_QRY_INTFA2
SUM FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPIR
FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPSSIR
FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPT
FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTFINANCE
FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTINTERET
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.CDSOCI NOPRINT PAGE-BREAK SUBTOTAL SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPSSIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPT SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTFINANCE SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTINTERET AS 'TOTAL SOCIETE'
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.CDAGEN NOPRINT SUBTOTAL SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPSSIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPT SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTFINANCE SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTINTERET AS 'TOTAL AGENCE'
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.CDPROD NOPRINT PAGE-BREAK SUBTOTAL SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPSSIR SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTIMPT SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTFINANCE SUM. FACT_QRY_INTFA2.FACT_QRY_INTFA2.MTINTERET AS 'TOTAL PRODUIT'
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.NOCONT
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.NOPLAN
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.NOUTIL
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.NOTIER AS '&RESULT_requestSQL'
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.NOMTIE
BY FACT_QRY_INTFA2.FACT_QRY_INTFA2.DTDDECH

...

END


Thanks in advance


WebFocus Release : 763
OS/Platform : AS/400 (v6r1)
DB2 Web Query for system i, pack service : 6

 
Posts: 3 | Location: France | Registered: May 14, 2009Report This Post
<JG>
posted
to assign a value to a variable from a file you use -READ.

instead of switching variables switch it's value

-SET &HEADL=DECODE &LANG('DE' 'HALLO' 'FR' 'BONJOUR' 'SP' 'HOLA' ELSE 'Whatever');
 
Report This Post
Member
posted Hide Post
thank you very much Wink


WebFocus Release : 763
OS/Platform : AS/400 (v6r1)
DB2 Web Query for system i, pack service : 6

 
Posts: 3 | Location: France | Registered: May 14, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Multilingual : Label of heading ou label of subtotal

Copyright © 1996-2020 Information Builders