Hello,
I'm trying to add a vvin_virtual statement to SQL data source and I get "Invalid SQL statement" when I add the following to the data source. (WHERE vvin_virtual('TerrFilt',' 1+1=2', 'char', 30, NULL, 'true') My aim was to have an RPG program put the text for the where statement into the TerrFilt variable and to default to a statement that would include all records. If I type out the "Where" statement and eliminate the vvin_virtual part, it works fine. How can I see what the error is?
Thanks,
Bruce
?
I'm trying to add a vvin_virtual statement to SQL data source and I get "Invalid SQL statement" when I add the following to the data source. (WHERE vvin_virtual('TerrFilt',' 1+1=2', 'char', 30, NULL, 'true') My aim was to have an RPG program put the text for the where statement into the TerrFilt variable and to default to a statement that would include all records. If I type out the "Where" statement and eliminate the vvin_virtual part, it works fine. How can I see what the error is?
Thanks,
Bruce
?

Comment