ODBC/CRecordset & Null characters
Posted on 1997-03-24
MS Access has no trouble allowing the null character in a text field, and MS C++ has no trouble allowing the null character in a CString. However, when I construct a CString with the null character in the middle, CString("Hi\0Joe",7) and then use AddNew to write that field into an Access database text field, the string gets truncated at the \0.
Anyone know a fix for this?