windows.
my code reads from a text file created by other app (other language) of mine a network path in the format : "\\PCNAME\SharedFolderName".
the code stores this path in sqlite db text field, using Update-Set sql statement and SQL.ExecNonQuery.
2 different behaviors in the sql statement :
1. .....Set fldPath='" & string_that_read_from_the_text_file & "';" ''CRASH
2. .....Set fldPath='" & TextField.Text_that_read_from_the_text_file & "';" ''OK
both the string and the TextField.Text logs exactly the same in the IDE.
that means that the problem is in the meeting of the backslashes with the db engine or with the sql lib.
seems that the TextFiled.Text is coming better prepared to that meeting...(more reliable (for me))
my code reads from a text file created by other app (other language) of mine a network path in the format : "\\PCNAME\SharedFolderName".
the code stores this path in sqlite db text field, using Update-Set sql statement and SQL.ExecNonQuery.
2 different behaviors in the sql statement :
1. .....Set fldPath='" & string_that_read_from_the_text_file & "';" ''CRASH
2. .....Set fldPath='" & TextField.Text_that_read_from_the_text_file & "';" ''OK
both the string and the TextField.Text logs exactly the same in the IDE.
that means that the problem is in the meeting of the backslashes with the db engine or with the sql lib.
seems that the TextFiled.Text is coming better prepared to that meeting...(more reliable (for me))