Double-quotes need to be escaped in SQL queries, and since Progress fields can have silly names that require those lovely quotes you need to do something like this (if you're just building a query as a string that is):
Code:
string theQuery = "SELECT \"" + columnName + "\" FROM pub.\"" + tableName + "\" WHERE \"" + columnName + "\" = \"" + variable = "\"";
Personally, I'm very happy every day that I take one more step further away from working with Progress.
I hope that helps.
