Resolved Querymode pb2017 r2
- How-to
- Andrew Davis
- PowerBuilder
- Thursday, 24 January 2019 05:59 PM UTC
Hi ( happy new year !!)
I think i must be doing something wrong.
I have a datawindow - which is just a single simple table - with no retrieval arguements
I want to use querymode against it.
So in the open event i set the transaction object
dw_1.settransobject(sqlca)
then I have a command button that turns query mode on
dw_1.Object.DataWindow.QueryMode = "yes"
// it creates 24 lines - as expected
then i put in the account field my account BEN0001
then i have a retrieve button
dw_1.retrieve()
I retrieve all the records - not the query set
i have a button to turn the query off
dw_1.Object.DataWindow.QueryMode = "no"
and all the records are displayed - not the ones i wanted
* this exact code works in an older version of pb
any ideas ?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.