1. João Jerónimo Barata de Oliveira
  2. PowerBuilder
  3. Friday, 9 February 2018 12:27 PM UTC

Hello,

I've found in the source code of a PowerBuilder app a reference to object "idw_requestor", that has methods like "RowCount", "Find", and so on.

Also in the internet many PowerScript snippets use this object.

What is this "idw_requestor" object?

I didn't find any answer by googling for it.

Thanks,

João Jerónimo

 

Olan Knight Accepted Answer Pending Moderation
  1. Saturday, 10 February 2018 00:06 AM UTC
  2. PowerBuilder
  3. # 1

"idw_requestor" is a PFC object. If this item is in your code, you have an application that is dependent on the PFC (PowerBuild Foundation Class libraries).

Most people implemented the PFC as follows:

   PFC      the base classes/libraries - don't touch these

   +-------->  PFE           Inherited from the PFC, these include vendor specific modifications to the PFC and new foundation-level objects

                +-------->  CORP        Inherited from the PFE, corporation-specific modifications to the PFE and new corporate-level or application-level objects

 

idw_requestor is defined in PFCDWSRV.PBL, pfc_n_cst_dwsrv, in the instance variables as "u_dw    idw_requestor".


Olan

 

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 9 February 2018 15:21 PM UTC
  2. PowerBuilder
  3. # 2

Hi João Jerónimo Barata de Oliveira,

 

This might be used on the PFC's. Look for libraries, in your app, that start with PFC or PFE. If so, you most likely have a PFC dependent app.

 

 

Regards,

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 9 February 2018 13:19 PM UTC
  2. PowerBuilder
  3. # 3

René is right.

The common naming convention for variables is the first character is the scope, i = instance, g = global, l = local. The characters from position 2 until the first underscore indicate the datatype. In this case 'dw' which would be a DataWindow.

Comment
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Friday, 9 February 2018 12:42 PM UTC
  2. PowerBuilder
  3. # 4

idw_requestor is no standard powerbuilder object. It is an implementation in the application or in a framework.

Usually it is an instance variable of type datawindow or a descendent class of datawindow in a service object class that references a datawindow control. So the service class may call functions on the datawindow control.

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.