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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Did you know about QUOTEDSTRING?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Did you know about QUOTEDSTRING?
 Login/Join
 
Virtuoso
posted
I was looking through the manual just now (yes, I admit it) and I stumbled across a Dialogue Manager Suffix command called QUOTEDSTRING. I am curious to know if anyone already knows about this suffix command. Basically it will add single quotes to a DM string variable appropriately. See page 5-35 in the Developing Reporting Applications manual v7.1


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
My co-workers and I discovered that a few months back...I don't think anyone has used it.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Mickey,

N.Selph was the first to mention this on FP in Sept. 2006.

Amazingly, it's been around since 5.3 but I've never used it, though it probably would have saved me some time on more than one occasion.

We're all still learning stuff, aren't we?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
I guess I should learn to do a search on FOCAL POINT before posting. Sorry. Roll Eyes

It looks like a very cool command.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Master
posted Hide Post
I think the idea was for drilldowns for passing the amper variables


DDFEX.fex( TOD=&TOD.QUOTEDSTRING XYZ=&XYZ.QUOTEDSTRING )



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Gold member
posted Hide Post
We are using it on one central place.

As we have all our applications in multiple languages (German and French actually) all our textes are stored in a DB. These textes are used in TABLE output, in HTMLFORMs and in MAINTAIN forms. For TABLE and HTML we get it via Dialog Manager.
As especially in French we have many apostrophes within the texts, we had to code them as two apostrophes. In TABLE and HTML this showed up as one apostrophe. But in Maintain this showed up as two Frowner
Coding only one apostrophe in the texts and using .QUOTEDSTRING in the DM code preparing the variables for TABLE and HTMLFORM resolved this. So we have nice text presentation all over our applications Smiler


Roland

Prod: WF 7.1.5
Test: WF 7.6.4
Unix Sun Solaris
HTML, PDF, EXL2K
 
Posts: 54 | Location: Switzerland | Registered: May 13, 2003Report This Post
Gold member
posted Hide Post
Another useful application of the post-fix .QUOTEDSTRING is in drill-downs that may potentially contain the value FOC_NONE. Since FOC_NONE lines of code, on their own are never placed on the stack for execution, the post-fix .QUOTEDSTRING, just like .EVAL lines of code will indeed be placed on the stack, so the line of code containing the value FOC_STACK will not be thrown away.

TYPE=DATA,
COLUMN=N1,
FOCEXEC=app/parent_fex(COUNTRY=N1 YEAR=&YEAR.QUOTEDSTRING),
$


Jamie
 
Posts: 15 | Location: IB - Corp | Registered: May 22, 2003Report This Post
Gold member
posted Hide Post
quote:
Originally posted by jamie:
Another useful application of the post-fix .QUOTEDSTRING is in drill-downs that may potentially contain the value FOC_NONE. Since FOC_NONE lines of code, on their own are never placed on the stack for execution, the post-fix .QUOTEDSTRING, just like .EVAL lines of code will indeed be placed on the stack, so the line of code containing the value FOC_NONE will not be thrown away.

TYPE=DATA,
COLUMN=N1,
FOCEXEC=app/parent_fex(COUNTRY=N1 YEAR=&YEAR.QUOTEDSTRING),
$


Jamie
 
Posts: 15 | Location: IB - Corp | Registered: May 22, 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     Did you know about QUOTEDSTRING?

Copyright © 1996-2020 Information Builders