An alternative approach would be to use the SYS(0) function to screen the current user versus the user table. SYS(0) returns machine and user name...this would mean that you're letting network security to work for you and you don't have to store passwords as the network O/S is dealing with that.
>Suppose I have created program from VFP. I would like my users
>input their passwords in my program 's table. My objective is :
>I don't want others people who know VFP to see my passwords ' table
>from opening VFP program. I want password table can open or see only in my program.
> If you can suggest me please help me with your sample code.
> Thanks again for your time.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05