>I am kinda new to VFP, how do I use that code that you sent to unencrypt the dbf file?
>
>TKS
>BradCopy the code Sergey gave you into a text file with a 'prg' extension.
From the command box in VFP, you could open a program file with something like:
modify command test
this will open an editing window (test.prg) in the current directory.
Copy and paste Sergey's code into it.
Assuming you have another prg file (lets call it functions.prg) with the code you gave for the encrypt and decrypt procedures, add the following to the top of test.prg:
set procedure to functions
substituting the path and filename where they are.
Then run the test program with:
do test
All of this can be done easily from the command box.
Holler if you have any problems.