Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

confusing: the usage of inv_linkage.of_setTransobject

$
0
0

Friends,

 

 

PB 7 with 7 pfc's

 

In our existing ERP system they have used the below code

 

dw1_inv_linkage.of_setTransobject(sqlca)


in of the window open event. Inside this window there are 2 datawindows(master and detail)

 

the master dw_1 has student rollnumber,name and batch

the detail dw_2 has complete details of the above selected rollnumber.

 

Now my doubt is when i open this window. i am getting the records of the students as per my user login of this erp system.  

the user login is the id for class tutor. the records are getting filtered according to the class tutor.

But i checked sql syntax in the dw_1's design...they are not passing any parameter for the class tutor to this dw_1 then how come the records are filtered as per the class tutor id.

Is this line dw1_inv_linkage.of_setTransobject(sqlca) doing this trick?

As i am new to powerbuilder, its taking lots of time to find out the solution.

hope somebody will help me.

 

thanks


Viewing all articles
Browse latest Browse all 2935


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>