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     [CLOSED] each in single line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] each in single line
 Login/Join
 
Gold member
posted
HI

I have a field column record like paragraph

DEFINE FILE CAR
PAG_FLD/A1000 = '1. What is a Word processor? Name some popular word processors? 2. What are the various display views available in Word? 3. Why do you indent text? What are the various available in Word? 4. What are the steps to add Header and Footer toolbar method? 5. What is the Auto Text feature used for? 6. In your document you have typed the word file as FILE but you want to find and replace all the documents of this word to file. How would you do this? 7. You have typed a document and you want to check the spelling mistakes. What would you do? 8. How to create and print labels? 9. How to insert rows and columns in a table? 10. What are the steps in adding borders and shading to a table?'
END

TABLE FILE CAR
PRINT CAR SALES PAG_FLD
BY COUNTRY
ON TABLE PCHOLD FORMAT HTML
END

I want to display PAG_FLD like this each line

1. What is a Word processor? Name some popular word processors?
2. What are the various display views available in Word?
3. Why do you indent text? What are the various available in Word?
4. What are the steps to add Header and Footer toolbar method?
5. What is the Auto Text feature used for?
6. In your document you have typed the word file as FILE but you want to find and replace all the documents of this word to file. How would you do this?
7. You have typed a document and you want to check the spelling mistakes. What would you do?
8. How to create and print labels?
9. How to insert rows and columns in a table?
10. What are the steps in adding borders and shading to a table?


can any one help me plz

Thanks

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Expert
posted Hide Post
A simple solution is to add an HTML break to the text.

This is not purfect, as there are other ? in the text..

DEFINE FILE CAR 
PAG_FLD/A1000 = '1. What is a Word processor? Name some popular word processors?'
              | '2. What are the various display views available in Word?'
              | '3. Why do you indent text? What are the various available in Word?'
              | '4. What are the steps to add Header and Footer toolbar method?'
              | '5. What is the Auto Text feature used for?'
              | '6. In your document you have typed the word file as FILE but you want to find and replace all the documents of this word to file. How would you do this?'
              | '7. You have typed a document and you want to check the spelling mistakes. What would you do?'
              | '8. How to create and print labels?'
              | '9. How to insert rows and columns in a table?'
              | '10. What are the steps in adding borders and shading to a table?';
New_Fld/A1000 = STRREP (1000,PAG_FLD,1,'?',5,'?<BR>',1000,'A1000') ;
END 
 
TABLE FILE CAR
PRINT CAR SALES New_Fld
BY COUNTRY
ON TABLE PCHOLD FORMAT HTML
END


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Code for all other formats, PDF and EXCEL; then, you won't have to modify:
  
-SET &FMT = 'HTML';
DEFINE FILE CAR
  LF/A4  = IF '&FMT' EQ 'HTML' THEN '<BR>' ELSE HEXBYT(10, 'A1');
  PAG_FLD/A1000 = 
                '1. What is a Word processor? Name some popular word processors?' | LF 
              | '2. What are the various display views available in Word?' | LF 
              | '3. Why do you indent text? What are the various available in Word?' | LF 
              | '4. What are the steps to add Header and Footer toolbar method?' | LF 
              | '5. What is the Auto Text feature used for?' | LF 
              | '6. In your document you have typed the word file as FILE but you want to find and replace all the documents of this word to file. How would you do this?' | LF 
              | '7. You have typed a document and you want to check the spelling mistakes. What would you do?' | LF 
              | '8. How to create and print labels?' | LF 
              | '9. How to insert rows and columns in a table?' | LF 
              | '10. What are the steps in adding borders and shading to a table?';
END 

TABLE FILE CAR
PRINT 
      CAR 
      SALES 
      PAG_FLD
BY COUNTRY
ON TABLE PCHOLD FORMAT &FMT
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,FONT='ARIAL',SIZE=8,STYLE=NORMAL,LEFTGAP = .031, SQUEEZE=ON,
     RIGHTGAP = .031,TOPGAP = .05,BOTTOMGAP = .05, LINEBREAK = LF,$
TYPE=REPORT, COLUMN = N4, WRAP=4,$
ENDSTYLE
END


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
If you have the right version, adding MARKUP=ON in the stylesheet will make the
work for other formats as well.

May ways...


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] each in single line

Copyright © 1996-2020 Information Builders