Where is my '\' ?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
maciejmt
Posts: 27
Joined: Sun 25 Apr 2010 14:14

Where is my '\' ?

Post by maciejmt » Sat 24 Jul 2010 20:44

When update or insert

Code: Select all

Update PathReport='C:\Reports'
and load in application into TEdit, I see
C:Reports
I checked property "CheckBackslashes', but result is the same.

To avoid this problem, I make StringReplace with pattern '\ into '\

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 26 Jul 2010 09:32

MySQL Reference Manual says:
Within a string, certain sequences have special meaning. Each of these sequences begins with a backslash (“\”), known as the escape character. MySQL recognizes the following escape sequences:
\ A backslash (“\”) character.
...

Post Reply