Writing c:\temp in MySQL

Writing c:\temp in MySQL

Postby Marc Vanzegbroeck » Sat Feb 23, 2013 4:47 pm

Hi,

I have a strange problem. If I write "c:\temp" to a character field, an want to read it again,
I get "c:[TAB]emp"
So it delete the "\t" and replace it with a tab.

If I want to write "c:\marc", the result is "c:marc", so it delete the backslash.

I use MySQL & ADO.
How can I fix this?

Thanks
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Writing c:\temp in MySQL

Postby Marc Vanzegbroeck » Sat Feb 23, 2013 4:54 pm

Hi,

I found it, I have to write two-times a backslash, and one backslash will be writen to the field.
So I allways do have to use strtran() to multiply the backslash :P
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 115 guests