BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Encode in DatasetProvider

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Emmanuel
Guest





PostPosted: Fri Apr 01, 2005 4:25 am    Post subject: Encode in DatasetProvider Reply with quote



in the help doc
I found that ,
void __fastcall TDBClientTest::ProviderGetData(TObject *Sender,
TCustomClientDataSet *DataSet)

{
while (!DataSet->Eof)
{
TField *pSensitive = DataSet->FieldByName("SensitiveData");
DataSet->Edit();
pSensitive->AsString = DoEncrypt(pSensitive->AsString);
DataSet->Post();
DataSet->Next();
}
}

It can encrypt the data, I can suceesfully do that
but in help DOC
__property TRemoteEvent BeforeApplyUpdates
1. The client dataset receives a BeforeApplyUpdates event, where it can
encode custom information into an OleVariant.

How Can I encode custom information into an OleVariant, is there any sample?
I have use over 1 week to try it, but still fail.
Is there any body help me?

Emmanuel


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.