1. Ankush Rai
  2. PowerBuilder
  3. Wednesday, 19 July 2017 16:27 PM UTC
Hi
 
What is FUNCky obsolete in Migration Assistant?
I am migrating from PB 7..0 to PB 2017. I am getting following error message for below mentioned code snippet.
 
Error message while using Migration Assistant for FUNCky obsolete:- "This match may be valid PowerScript syntax, but also matches an identifier in the search file."
 
Below is my code snippet:- 
If rownum > 0 then
For i = 1 to lb_1.TotalItems()
if lb_1.State(i) = 1 Then 
if right(lb_1.Text(i),5) = "(CAO)" or right(lb_1.Text(i),5) = "(MIT)" then
if where_clause = "where " then
  where_clause = where_clause + "(phone..CostCenters.GroupDesc = ~~'" + mid(lb_1.Text(i),1,len(lb_1.Text(i)) - 6) + "~~')" 
else
where_clause = where_clause + " or (phone..CostCenters.GroupDesc = ~~'" + mid(lb_1.Text(i),1,len(lb_1.Text(i)) - 6) + "~~')"
 
Please suggest if this is syntactically correct or if there is any other issue as per PB 2017.
 
Thanks in Advance

Regards
Ankush Rai
 
Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 19 July 2017 17:08 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Ankush;

  The FUNCky library is a very old 3rd party "add-on" for PowerBuilder. It has been defunct for a few decades now. If you have that library in your APP, you should consider looking at what features this old ANSI based library is using and then rewrite/convert them to pure PB 2017 code - which is UNICODE based. BTW.

  If however you do not have the FUNCky library used in your PB App, you can just ignore that part of the Migration Assistant search.

HTH

Regards ... Chris

Comment
  1. Ankush Rai
  2. Wednesday, 19 July 2017 17:28 PM UTC
Hi Chris,



How could I rectify if I have FUNCky libraries in my app.

I think we don't have any FUNCky libraries. But just to be sure about this.

Please suggest if there is a way to find it.



 



Regards



Ankush Rai

  1. Helpful
  1. Roland Smith
  2. Wednesday, 19 July 2017 17:52 PM UTC
FUNCky was an extra cost 3rd party library that PowerSoft/Sybase sold. If you search your code for funcky32.dll you should see if you are using it.

  1. Helpful
  1. Ankush Rai
  2. Thursday, 20 July 2017 08:28 AM UTC
Thank you Roland.

 



I have searched for Funcky32.dll, there are no results.

So I think we do not use any of the Funcky syntax's.

I will ignore this part of Migration Assistant.

 



Regards



Ankush Rai

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 19 July 2017 17:41 PM UTC
  2. PowerBuilder
  3. # 1

My website has many free code examples of Windows API functions. You could look to see if I have one that will replace the FUNCky function you are using. If not, feel free to post a question about a specific function.

http://www.topwizprogramming.com/

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to 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.