Quantcast
Channel: SCN : Popular Discussions - SAP PowerBuilder
Viewing all articles
Browse latest Browse all 2135

ParentWindow() return Null Object Reference In PB12.6

$
0
0

Hi,

     When I opened a sheet by 'OpenSheetwithParmAsDocument' ,the function ParentWindow() can not return the mdi frame object. But when I use 'OpenSheetwithParm', ParentWindow() can return the mdi frame object. Why?

 

     //OpenSheetwithParmAsDocument Code

     window lwobj

 

     OpenSheetwithParmAsDocument( lwobj, '', 'w_1', &

            w_main, String(Today(), "yy-m-d hh:mm")+"_"+ string(Rand(1000))  )

  

     return

     //


Viewing all articles
Browse latest Browse all 2135

Trending Articles