Subject | TIBOQuery: OnSetText and OngetText not firing? |
---|---|
Author | John vd Waeter |
Post date | 2006-05-09T13:05:25Z |
Hi All,
I try to encrypt/decrypt data in the OnGetText and OnSetText events.
Dataset is a TIBOQuery.
Dataset.fieldByName('somedata').OnSetText:=scramble;
procedure Scramble(Sender: TField; const Text: String);
begin
Field.AsString:=Encrypt(Text);
end;
and vice versa in the OnGettext-event.
However, these events never get triggered?
tia!
John
I try to encrypt/decrypt data in the OnGetText and OnSetText events.
Dataset is a TIBOQuery.
Dataset.fieldByName('somedata').OnSetText:=scramble;
procedure Scramble(Sender: TField; const Text: String);
begin
Field.AsString:=Encrypt(Text);
end;
and vice versa in the OnGettext-event.
However, these events never get triggered?
tia!
John