Hi,
I am making a request on a microsoft Access data base:
Code:
CDBVariant varValue;
CString repere;
record.GetFieldValue((short)0,varValue);
repere = *varValue.m_pstring;
everything seems Ok till here when I debug (ex: repere "310.96")
Then I add the repere's value in buffer (which is already containing some text).
buffer = buffer + repere;
buffer = buffer + _T("Any text");
My problem: once I've add "repere" to "buffer", it's not possible to make more adds to "buffer" ("Any text" is NOT in "buffer")
I've also tried this, without any success:
Code:
record.GetFieldValue(_T("repere"),repere1); // repere1 is a CString
repere = repere1;
Precision: if there are no access to the database, there are no problems with the buffer.
I don't know what to do. Has anyone some kind of idea ?
Every kinf of help would be really welcome !
I am making a request on a microsoft Access data base:
Code:
CDBVariant varValue;
CString repere;
record.GetFieldValue((short)0,varValue);
repere = *varValue.m_pstring;
everything seems Ok till here when I debug (ex: repere "310.96")
Then I add the repere's value in buffer (which is already containing some text).
buffer = buffer + repere;
buffer = buffer + _T("Any text");
My problem: once I've add "repere" to "buffer", it's not possible to make more adds to "buffer" ("Any text" is NOT in "buffer")
I've also tried this, without any success:
Code:
record.GetFieldValue(_T("repere"),repere1); // repere1 is a CString
repere = repere1;
Precision: if there are no access to the database, there are no problems with the buffer.
I don't know what to do. Has anyone some kind of idea ?
Every kinf of help would be really welcome !