FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Writing c:\temp in MySQL
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Writing c:\temp in MySQL
Posted: Sat Feb 23, 2013 04: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
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Writing c:\temp in MySQL
Posted: Sat Feb 23, 2013 04: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

Continue the discussion