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]Document with Static text.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved]Document with Static text.
 Login/Join
 
Guru
posted
Hi,

I have a A4 pre-printed document acting like check thta contains Static text. The user is taking a copy of that and filling it with some information such as the name, the date the ammount and other data.
This data is found in a sql table.
Could somebody tell me how can i build that document with static text in webfocus and then fill it with data from that sql table.

This will shield the user from doing that manually.

Thanks.

This message has been edited. Last edited by: Majid Jeddi,


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Virtuoso
posted Hide Post
Well, you can always use the heading for your fixed text, and you can use spot-markers (the "<") followed by the fieldname to your sql data fields.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Guru
posted Hide Post
Hi,

The fixed text is every where on the A4 page. Some is in the middle of the page some on the right some of the top and some on the left bottom.
While designing this page i am only able to place this text in eith the page header of on the page footer. no way to place it in the body.

Regards.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
<JG>
posted
Here's a clue.

A HEADING can contain any text, can span the width of the page can span to length of the page
The STYLESHEET allows Horizontal postioning.

TABLE FILE CAR
""
"*"
"***"
"*****"
"*******"
"*********"
"***********"
"*************"
"***************"
"*****************"
"*******************"
"**"
"**"
"**"
"A MERRY CHRISTMAS"
"To Every One"
BY COUNTRY NOPRINT
ON TABLE SET PAGE NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE= HEADING, OBJECT=TEXT,ITEM=1,COLOR=BLUE,$
TYPE= HEADING, LINE=2,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 5.0,$
TYPE= HEADING, LINE=3,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.9,$
TYPE= HEADING, LINE=4,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.80,$
TYPE= HEADING, LINE=5,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.70,$
TYPE= HEADING, LINE=6,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.60,$
TYPE= HEADING, LINE=7,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.50,$
TYPE= HEADING, LINE=8,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.40,$
TYPE= HEADING, LINE=9,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.30,$
TYPE= HEADING, LINE=10,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.20,$
TYPE= HEADING, LINE=11,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.10,$
TYPE= HEADING, LINE=12,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.9,$
TYPE= HEADING, LINE=13,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.9,$
TYPE= HEADING, LINE=14,OBJECT=TEXT,ITEM=1,COLOR=BLUE,POSITION = 4.9,$
TYPE= HEADING, LINE=15,OBJECT=TEXT,ITEM=1,COLOR=RED,POSITION = 2.0,$
TYPE= HEADING, LINE=16,OBJECT=TEXT,ITEM=1,COLOR=GREEN,POSITION = 3.7,$
ENDSTYLE
END
 
Report This Post
Guru
posted Hide Post
Thanks

JG and Thanks also to Gamp whom i missunderstood.

and Merry Christmas to all.

Majid


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Expert
posted Hide Post
You can also place static text, lines and boxes on the page via the stylesheet.

DEFINE FILE CAR
 Blank/A1 WITH COUNTRY = ' ' ;
END
TABLE FILE CAR
PRINT Blank AS ''
WHERE RECORDLIMIT EQ 1
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLESHEET *
TYPE=REPORT, OBJECT=BOX   , NAME='BOX001', POSITION=(0.200 0.400),DIMENSION=(1.10 3.00),BORDER-COLOR=RED, BORDER=HEAVY,BACKCOLOR=RGB(212 212 212),$
TYPE=REPORT, OBJECT=STRING, NAME='text1', TEXT='Text1', POSITION=(0.200 0.400), MARKUP=OFF, WRAP=ON, DIMENSION=(4.234 0.528), font='ARIAL', color=RGB(0 0 0),  size=10, $
TYPE=REPORT, OBJECT=STRING, NAME='text2', TEXT='Text2', POSITION=(0.200 1.400), MARKUP=OFF, WRAP=ON, DIMENSION=(4.234 0.528), font='ARIAL', color=RGB(0 0 0),  size=10, $
TYPE=REPORT, OBJECT=STRING, NAME='text3', TEXT='Text Line 3', POSITION=(2.200 2.400), MARKUP=OFF, WRAP=ON, DIMENSION=(4.234 0.528), font='ARIAL', color=RGB(0 0 0),  size=10, $
ENDSTYLE
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
  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]Document with Static text.

Copyright © 1996-2020 Information Builders