AnyDAC
ContentsIndexHome
PreviousUpNext
TADResourceOptions.EscapeExpand Property

Controls processing of escape sequences.

Group
Links

Use EscapeExpand property to control escape sequences expansion. If it is True, then they will be processed and expanded into target DBMS syntax constructions. If it is False, then AnyDAC will ignore escape sequences. The default value is True. 

Setting EscapeExpand to False, may be usefull, if:

  • target DBMS uses '{', '}' symbols in its own SQL dialect and AnyDAC cannot recognize them as a SQL construction. Then SQL commands with these symbols may confuse AnyDAC SQL preprocessor. See Preprocessing Command Text for escape sequences description.
  • application does not use escape sequences at all.

Setting PreprocessCmdText to False, sets EscapeExpand to False.

property EscapeExpand: Boolean;
What do you think about this topic? Send feedback!