 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Emmanuel Guest
|
Posted: Fri Apr 01, 2005 4:25 am Post subject: Encode in DatasetProvider |
|
|
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 |
|
 |
|
|
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
|
|