Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypted dbf file.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00808797
Message ID:
00809633
Views:
38
I only found 2 things wrong with Sergey's code after talking to him. One, the decrypt did not like spaces, so I had to use the alltrim(), and it had to be done to one field at a time since there was 5 fields in the dbf that was not encrypted. The code that I came up with worked for me.
If anyone else ever has problems with a decrypt, remember that most decrypts are not fond of spaces and will give you argument errors unless you use the alltrim. I am sure that I could have used the variable and replaced all the fields if all of them was encrypted.

TKS for all the help guys!!!!

Here it is:

set proc to udfprocs

public constdebug
constdebug = 0

select 0
use tech
goto top
scan
replace wc_12v with decrypt(alltrim(wc_12v))
endscan
use
Previous
Reply
Map
View

Click here to load this message in the networking platform