1. Ankush Rai
  2. PowerBuilder
  3. Tuesday, 25 July 2017 12:19 PM UTC

Hi,

I am getting below error message while migrating PBL's from PB 7.0 to PB 2017.

" Function 'Len' has been replaced with function 'LenA' "

This error occurs when I select "Automatically convert dbcs string manipulation function" checkbox.

Does this harm any of the functionaility of my application.

 

Regards

Ankush Rai

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 25 July 2017 13:14 PM UTC
  2. PowerBuilder
  3. # Permalink

DBCS is a pre-cursor to Unicode. Don't check that checkbox unless you are actually using that feature.

Comment
  1. Ankush Rai
  2. Tuesday, 25 July 2017 13:51 PM UTC
Hi Roland,



Thanks for your reply.



If I am not checking that checkbox:- The encrypted password my app retrieves from database are decrypted wrongly.

Is there any other workaround for this issue?



 



Regards



Ankush



 

  1. Helpful
  1. Ricardo Colarina
  2. Tuesday, 25 July 2017 22:03 PM UTC
Hi Ankush,



I had a problem with password encrypting/decrypting years ago as well when converting from PB 9 to PB 10.5.  Try overloading the affected PB string function(s).  For me, creating a global function "Asc", then in that function coded "return AscA(string)" did the trick.



Cheers.



Ricardo

  1. Helpful
  1. Ankush Rai
  2. Wednesday, 26 July 2017 13:41 PM UTC
Same is in my case.

So that's great.



 



Thanks Ricardo.



 

  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.