Hi Jim,
I tried that also but didn't work, Cetin gave a very easy fix, please check message id 708034
Thanks !
>
>* THIS CODE USES THE linked METHOD
>DO FORM ..\forms\enc_psw_prompt name fNewData linked
>READ EVENTS
>
>
>The above does not actually fail. Your local variable is immediately out of scope when the fomr tries to take focus and so when the linked variable goes out of scope the form object is destroyed. Try making the variable PRIVATE instead of LOCAL.