|
-
May 1st, 1999, 03:44 AM
#1
Extracting a memo field value from COleVariant
Hiya ppl ,
Could anyone tell me how to extract a memo field value from a COleVariant object? I could extract string, date, and numeric fields but I am stuck on how to get a memo field value?
For example, this is how I extract a string value from COleVariant:
CString TTableClass::fGetStringValue(CString sField)
{
COleVariant oVariant;
oVariant = moTable.GetFieldValue(sField);
return LPCSTR(oVariant.bstrVal);
}
But how to do it for memo field? And where to store it? Is there a specific object in MFC to store memo value? Or do I store it in CString object?
Thanks in advance,
Tatang
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|