Hi NG,
I don't know if I'm just missing the forest through the trees, or if it
is really that complicated:
I want to save a password that is entered/changed through a text control
in a form. The control is bound to a dataset and the password shall be
stored as an encrypted text in the database.
I first tried to control the en- and decryption in the textbox's Format
and Parse handler but I ended up in sometimes having the password either
unencrypted or twice encrypted in the db.
Then I tried to use Enter and Leave handlers to de- and encrypt the
password before saving but this way, too, I can end up with unencrypted
oder twice encrypted passwords in the db.
Did somebody have this kind of problem before and knows a solution or
could point me to the right direction? I searched the archives but could
not find anything fitting my case.
Thanks in advance.
Regards
Roland