1. Teresa MacDonald
  2. PowerBuilder
  3. Friday, 20 September 2024 16:38 PM UTC

I need help getting past this error.

My application was built a long time ago. We have it migrated to PB2022 R3.

I have 2 windows named the same in two different PBLs. Each of these windows calls the same function which is in another PBL. Both these windows work fine separately and have worked set up this way for years. 

The window that comes first in the library list will regenerate fine. The window that comes second will get an error.

     C0052: Bad argument list for function: fnvo_ref_doc_no_retrieve

The calls to the function fnvo_ref_doc_no_retrieve are identical in both windows. 

Any thoughts on why I am getting this error and maybe how to correct?

 

Thanks,

Teresa

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 20 September 2024 17:50 PM UTC
  2. PowerBuilder
  3. # 1

Hi Teressa;

  Suggestion: Look for a duplicate local function in the Window that fails.

Regards .. Chris

Comment
There are no comments made yet.
Teresa MacDonald Accepted Answer Pending Moderation
  1. Friday, 20 September 2024 18:43 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris, Thank you for your suggestion. There are no duplicates of this function. 

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 21 September 2024 00:13 AM UTC
  2. PowerBuilder
  3. # 3

Rule number 1: Don't have multiple objects with the same name in different libraries.

Comment
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Monday, 23 September 2024 14:31 PM UTC
  2. PowerBuilder
  3. # 4

Hi Teressa

 

Have you tried optimising All the libraries and then regenerating the function and then regenerate the windows.

Hope that helps

David

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.