October 28, 2010, 04:44 PM
JBK[SOLVED] MISSING QUOTE MARKS error from double list box
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, October 28, 2010, 04:55 PM
dbeaganNo. 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.
October 28, 2010, 05:22 PM
JBKSuch an easy fix!
Thank you.