Please free me from this - I'll PAY

Alex Clay aclay at mac.com
Tue Jan 30 18:50:58 EST 2018


On Jan 30, 2018, at 18:28, Das Goravani <das at goravani.com> wrote:

> I can’t insert my sql into a calculate command…it won’t let me quote it with either type of quote because there’s quotes inside the SQL

Omnis has handy constants for quotes. kDQ for a double quote, and kSQ for a single quote.

For example:

Calculate lcString as con("The programmer",kSQ,"s name is ",kDQ,"Das",kDQ)

Will output:

The programmer's name is "Das"

Alex




More information about the omnisdev-en mailing list