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     Style Sheet WRAP / URL pass

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Style Sheet WRAP / URL pass
 Login/Join
 
Platinum Member
posted
I would like to wrap the comment column that is 250 long. Also I'd like to pass the ID_SIR in the URL path. The following is my code but none of it works.... Can anyone tell me where I went wrong....... FYI...version 5.2.3.......

 <br />DEFINE FILE GS01TB10<br />URLID/A75 = 'HTTP://sirbnch.nsf/allbyccir/'|ID_SIR ;<br />END<br />TABLE FILE GS01TB10<br />PRINT<br />ID_SIR AS 'Sir'<br />URLID  <br />TX_AFTER_COMMENT AS 'Comment'<br />BY &SORTIS<br />WHERE ID_BUDGET_AREA &BAIS.EVAL<br />WHERE NM_USER &EMPIS.EVAL<br />WHERE CD_TYPE &EVENTIS.EVAL<br />WHERE &DATEFROM.EVAL  &DATETO.EVAL<br />ON TABLE SET STYLE *<br />TYPE=REPORT, GRID=OFF, $<br />TYPE=HEADING, LINE=1, SIZE=12, STYLE=BOLD, JUSTIFY=CENTER, COLOR=RED, $<br />TYPE=HEADING, LINE=2, SIZE=08, JUSTIFY=LEFT,  $<br />TYPE=HEADING, LINE=3, SIZE=10, STYLE=BOLD, JUSTIFY=CENTER, COLOR=RED, $<br />TYPE=HEADING, LINE=4, SIZE=10, STYLE=BOLD, JUSTIFY=CENTER, COLOR=RED, $<br />TYPE=HEADING, LINE=5, SIZE=08, JUSTIFY=LEFT, $<br />TYPE=HEADING, LINE=6, SIZE=08, JUSTIFY=LEFT, $<br />TYPE=REPORT, COLUMN=TX_AFTER_COMMENT, WRAP=1,   $<br />TYPE=DATA, COLUMN=ID_SIR, URL=N3, $<br />ENDSTYLE<br />ON TABLE PCHOLD FORMAT '&OUTFMT'<br />END<br />-RUN 
Any insight would be greatly appreciated......
 
Posts: 132 | Location: Kansas | Registered: November 12, 2003Report This Post
Expert
posted Hide Post
GRID and WRAP are inextricably intertwined. Makes me CRAZY. i've been asking the Product Manager for ages 'why did you DO that?' and he just stares at me, clueless;
If you want wrap, you gotta have grid. argh!

as for your url, do you want it to be an actual url or just a text string? if you want an actual url, then you gotta define a string that is the full tag
URLID/a100='< a href="http://sirbnch.nsf/allbyccir/' | ID_SIR | '.htm">click here< /a>';
Is that what you wanted???
Instead of 'click here' you could put the variable ID_SIR value if you wanted.

Update: look a couple of posts up(#513), Pietro has come up with a very cool workaround for the grid/wrap situation.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     Style Sheet WRAP / URL pass

Copyright © 1996-2020 Information Builders