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.
I am new to free form reporting in webfocus though I have done lots of other kind of reports. Can some one guide me through development of free form reports or post sample code with car file.
I am trying to develop a report that should be something like this.
Or you could use something like this: (add SUBHEAD/SUBFOOT's for more detail)
TABLE FILE CAR
HEADING
"<+0>Country<+0>: <COUNTRY <+0>Car<+0>: <CAR"
"<+0> <+0>Other text<+0>: Some other stuff <SEATS"
" "
" "
FOOTING
" "
BY COUNTRY NOPRINT
ON COUNTRY PAGE-BREAK
BY CAR NOPRINT
BY MODEL NOPRINT
ON TABLE SET LINES 99999
ON TABLE SET TITLES OFF
ON TABLE SET PAGE NOPAGE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT ,UNITS=PTS ,FONT='VERDANA', SIZE=8 ,$
TYPE=REPORT ,BORDER=0 ,BORDER-COLOR=RGB(210 210 210) ,$
TYPE=HEADING, LINE=1 ,OBJECT=TEXT ,ITEM=1, STYLE=BOLD ,$
TYPE=HEADING, LINE=1 ,OBJECT=FIELD ,ITEM=1, WIDTH=80 ,$
TYPE=HEADING, LINE=1 ,OBJECT=TEXT ,ITEM=4, STYLE=BOLD ,$
TYPE=HEADING, LINE=1 ,OBJECT=FIELD ,ITEM=2, WIDTH=80 ,$
TYPE=HEADING, LINE=2 ,OBJECT=TEXT ,ITEM=1, WIDTH=131 ,$
ENDSTYLE
END
This method is working good for me as I started to use it. But this looks like HTML format. Is it a different way for Excel?
quote:
Originally posted by FreSte: Or you could use something like this: (add SUBHEAD/SUBFOOT's for more detail)
TABLE FILE CAR
HEADING
"<+0>Country<+0>: <COUNTRY <+0>Car<+0>: <CAR"
"<+0> <+0>Other text<+0>: Some other stuff <SEATS"
" "
" "
FOOTING
" "
BY COUNTRY NOPRINT
ON COUNTRY PAGE-BREAK
BY CAR NOPRINT
BY MODEL NOPRINT
ON TABLE SET LINES 99999
ON TABLE SET TITLES OFF
ON TABLE SET PAGE NOPAGE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT ,UNITS=PTS ,FONT='VERDANA', SIZE=8 ,$
TYPE=REPORT ,BORDER=0 ,BORDER-COLOR=RGB(210 210 210) ,$
TYPE=HEADING, LINE=1 ,OBJECT=TEXT ,ITEM=1, STYLE=BOLD ,$
TYPE=HEADING, LINE=1 ,OBJECT=FIELD ,ITEM=1, WIDTH=80 ,$
TYPE=HEADING, LINE=1 ,OBJECT=TEXT ,ITEM=4, STYLE=BOLD ,$
TYPE=HEADING, LINE=1 ,OBJECT=FIELD ,ITEM=2, WIDTH=80 ,$
TYPE=HEADING, LINE=2 ,OBJECT=TEXT ,ITEM=1, WIDTH=131 ,$
ENDSTYLE
END
This method is workig good for me. I am trying to WRAP a big text field which is in the heading. I am able to wrap a normal field in PRINT but in heading, same techniques does not work. When I print this in PDF, only some text is getting displayed and other text is just gone. I want that to go to next line.
Another method is to do it entirely as a heading and turn the alignment grid on. I had to use this when trying to match a given format for a state reporting requirement. It worked in all three output formats but Excel and PDF for sure.
Duane
WebFOCUS 8.0.7 DS 8.0.7 AS 8.0.7 Windows Output: Excel, HTML, PDF, AHTML,Mobile In Focus 1982
I already this option before posting here. It did not work for me or I did something wrong?!
quote:
Originally posted by Dgraff: Another method is to do it entirely as a heading and turn the alignment grid on. I had to use this when trying to match a given format for a state reporting requirement. It worked in all three output formats but Excel and PDF for sure.
Hi Freste everythign is working good and I am able to get the report well except one issue.
When I have 2 fields in a line, when one field length increases (number of characters), the other text and fields in same line are moving towards right and if it decreases, they are moving towards left. Can we make them fixed without movement?