OrthoDocSoft
Programmer
Strongm and others,
I have been using vbEncrypt/vbDecrypt that you, strongm, provided to me several years ago (and for which I'm most grateful). This has worked well as I can encrypt and store the encrypted bit in a:
file, and
MS Access DB
retrieve it, decrypt it and the data all comes back just fine.
But when I store an encrypted string into
MS SQL Server
The data gets corrupted, such that when I retrieve it, then decrypt it, it doesn't decrypt; I get some gibberish.
I used the EXACT code to write and then retrive from an MS Access DB (only changing the connection strings) and it works fine. I have used trim() to no avail. I have changed the data type in cell in SQL Server DB to many different types, and that doesn't seem to work.
Any suggestions?
Thanks,
Ortho
"you cain't fix 'stupid'...
I have been using vbEncrypt/vbDecrypt that you, strongm, provided to me several years ago (and for which I'm most grateful). This has worked well as I can encrypt and store the encrypted bit in a:
file, and
MS Access DB
retrieve it, decrypt it and the data all comes back just fine.
But when I store an encrypted string into
MS SQL Server
The data gets corrupted, such that when I retrieve it, then decrypt it, it doesn't decrypt; I get some gibberish.
I used the EXACT code to write and then retrive from an MS Access DB (only changing the connection strings) and it works fine. I have used trim() to no avail. I have changed the data type in cell in SQL Server DB to many different types, and that doesn't seem to work.
Any suggestions?
Thanks,
Ortho
![[lookaround] [lookaround] [lookaround]](/data/assets/smilies/lookaround.gif)