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     (FOC318) FIELD FORMAT ERROR

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(FOC318) FIELD FORMAT ERROR
 Login/Join
 
Gold member
posted
Hi,

i have a drill down feature in my report where a &variable needs to pass a String with single quotes to rhe same fex file. But when i am passing the value I get the following error


0 ERROR AT OR NEAR LINE 25 IN PROCEDURE _test_levels
(FOC318) A FIELD FORMAT IS NOT ALLOWED IN -SET: &G1234''='';

Is it true that we cant pass values with single quotes through drill down??

Please suggest an approach based on either YES or NO for the above question.

Thx
CD
 
Posts: 78 | Registered: December 11, 2005Report This Post
Expert
posted Hide Post
CD,

Answer is yes, you can although you have to be very careful as you have found out.

First thing to check is the source of your HTML to see what values are being placed within your anchor tags. Also, when you do your equality test on the variable value then be sure to enclose in quotes.

This is an example that seems to function on my local set-up -
-* File newfex.fex
-SET &ECHO = ALL;
-SET &Rand = EDIT(HHMMSS('A8'),'99$99$99');
-DEFAULT &Country = 'FOC_NONE'
DEFINE FILE CAR
COUNTRY_W/A31 = EDIT(COUNTRY,'999'99999999999$');
END
TABLE FILE CAR
SUM COUNTRY_W
BY COUNTRY
WHERE COUNTRY_W EQ '&Country'
HEADING
"Show All"
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
  TYPE=HEADING, OBJECT=TEXT, FOCEXEC=newfex(Country='FOC_NONE' IBIMR_random=&Rand), $
  TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=newfex(Country=COUNTRY_W IBIMR_random=&Rand), $
ENDSTYLE
END


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 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     (FOC318) FIELD FORMAT ERROR

Copyright © 1996-2020 Information Builders