-
November 27th, 2001, 03:25 PM
#1
DoFieldExchange- how to modify/retrieve values from bound member?
I have a CDaoRecordSet derivative. In the DoFieldExchange() method, I want to be able to take the value in a bound data member (of type CByteArray), and transfer it's data to a non-bound data member of type CMap(and retrieve it's data to store in the CMap). I'm looking at the value of pFX->m_nOperation to determine the operation being performed. Currently if it is equal to CDaoFieldExchange::StoreField, then I transfer the data in my CMap to the bound member. If pFX->m_nOperation is equal to CDaoFieldExchange::LoadField, then I retrieve the data and store it in my CMap. When saving the data, the bound member is NULL.
What am I missing?
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
|