🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Emmanuel Fri, 01 Apr 2005 04:25
Encode in DatasetProvider
#81
Author: Emmanuel
Date: Fri, 01 Apr 2005 04:25
27 lines
1652 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads