Encryption with MD5

  1. Created new FORM with password field (security for the Form is OFF)
  2. When SAVINg the form I apply this code in onBeforeInsert event
{pswd} = md5({pswd});

but password is still saved in plain text

am I doing something wrong ?

Art

To me it should work.
Just make sure the same code is replicated also in OnBeforeUpdate event, otherwise as soon as you update the form password goes back to plain text

Thanks, I completely forgot about this other event. Now it works. :slight_smile: