reading a single byte from memo field
I have a strange problem, i have an mdb file which has a table (which contains records of type MEMO), i am using CRecordSet Class to read the record from the database, but when the record size is 1 byte i am not able to read the record, Eg: Say in table Names
If I have names like "greece" "Athens" "India" etc.. i am able to read in this case
but when the record contains a single byte like "a" "b" "c" then it is throwing an exception, and unfortunately the exception is blank.
Please help me why with MEMO field type if i have a single byte in a record i am not able to read it to CString ???
Re: reading a single byte from memo field
pls try (char type )memory field.
|All times are GMT +5.5. The time now is 19:45.|