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     [Case Opened] SUBSTR in OPTION value on HTML report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Case Opened] SUBSTR in OPTION value on HTML report
 Login/Join
 
Silver Member
posted
I am modifying an html report that is a launch block on a dashboard tab. I am trying to use SUBSTR in the value= of an Option (dropdownlist). I have tried a few things. I'm currently using the code below. When I try and run it, I get the following message: "Error occurred.
ERROR: ERROR_MR_CANT_OPEN_FEX Can't open file to read content."

 COMPUTE SUB_ORI/A3 = SUBSTR(9,ORI_CODE,3,5,3,SUB_ORI);
<SELECT style="Z-INDEX: 19; POSITION: absolute; WIDTH: 160px; TOP: 110px; LEFT: 20px" id=combobox1 tabIndex=19 size=1 persistentuniqueid="compUid_10" boundtovariable="1" labelid="text7" name="CYWHERE"> 
<OPTION value="( SUB_ORI EQ "CSI" OR "CAI");" displaytext="CSI" noinput="0">CSI</OPTION> 
 


I also tried this code with the same error:
<SELECT style="Z-INDEX: 19; POSITION: absolute; WIDTH: 160px; TOP: 110px; LEFT: 20px" id=combobox1 tabIndex=19 size=1 persistentuniqueid="compUid_10" labelid="text7" boundtovariable="1" name="CYWHERE"> 
<OPTION value="( ( SUBSTR(9,ORI_CODE,3,5,3,'A3') ) EQ "CSI" OR "CAI");" noinput="0" displaytext="CSI">CSI</OPTION> 


Do I need to compute the substring within the value= ? If so, what would be the correct syntax for that? Of course, the documentation for SUBSTR only includes an example in an fex.

Is there another way to accomplish what I want?

Thanks!
Theresa

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


PMF: 5.2.3 HF 4
Server: WF 7.6.11/DB2
Desktop: WF 7.6.11/SQL Server/XP
output: HTML
 
Posts: 38 | Location: Washington, D.C., United States | Registered: April 22, 2010Report This Post
Expert
posted Hide Post
Hi Theresa,

I checked with our technicals and was suggested that this issue may be better addressed by a case with Customer Support Services. To open a case, please call 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     [Case Opened] SUBSTR in OPTION value on HTML report

Copyright © 1996-2020 Information Builders