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] MISSING QUOTE MARKS error from double list box

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] MISSING QUOTE MARKS error from double list box
 Login/Join
 
Platinum Member
posted
I tried creating a double list box for the following focexec, and it generated this error:

(FOC257) MISSING QUOTE MARKS: 'NE'';

TABLE FILE EMPDATA
PRINT
SALARY
BY DIV
BY DEPT
BY LASTNAME
BY FIRSTNAME
WHERE DIV EQ '&DIV';
END

My selections from the list box were CE and NE. How do I fix this, and shouldn't the control take care of writing the quotes as needed?

Thank you.

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


WebFOCUS 7.6.11, Linux, HTML, PDF, AHTML, EXCEL
 
Posts: 100 | Registered: September 15, 2010Report This Post
Platinum Member
posted Hide Post
No. The HTML control and the focexec need to work together. Single select dropdowns pass values like:

NE

without quotes. But multiselect controls pass values with quotes, like this:

'CE' OR 'NE'

So in your example, it should work if you remove the quotes from around the parameter.


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Platinum Member
posted Hide Post
Such an easy fix!

Thank you.


WebFOCUS 7.6.11, Linux, HTML, PDF, AHTML, EXCEL
 
Posts: 100 | Registered: September 15, 2010Report 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] MISSING QUOTE MARKS error from double list box

Copyright © 1996-2020 Information Builders