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

Retrieval of datawindow crashes PowerBuilder

$
0
0

Hello All -

 

I am facing a weird issue with PowerBuilder

 

There is a datawindow which is constructed using a query at compile time, and another query is set to the datawindow at runtime using the Modify function

 

When I retrieve the datawindow through the PowerBuilder UI, it retrieves just fine

 

But when I run/debug the application, the moment the dw_name.Retrieve () function is executed, the application just crashes without a warning

 

I tried creating a datastore with the same dataobject as that of the datawindow, then set the query and retrieve. PB crashes when I retrieve the datastore as well

 

BTW, the Modify function to set the datawindow query returns an empty string, which means it is successful. The code was migrated to 12.6 recently from 11.2 and the deployment is targeted on 12.6, so, we might not be able to stick with 11.2

 

I have tried recreating a brand new dataobject with the query, regenerating and optimizing the object, no luck so far

 

I am puzzled on what to do next. Any help would be greatly appreciated

 

Thanks,

Krishna


Viewing all articles
Browse latest Browse all 2135

Trending Articles



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