How to create a "search" and "retrieve"

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
angel
Posts: 2
Joined: Sun Apr 02 2006
Contact:

How to create a "search" and "retrieve"

Post by angel » Sun Apr 02 2006

i face a problem in create a "search" and "retrieve" button, after user click the search button, user may able to keyin words in 3rd column of datawindow, then click the retieve button, to retrieve the matching keyword only?

my click event of search button as below:
string setting
setting=dw_1.object.datawindow.querymode
dw_1.object.datawindow.querymode= 'yes'
setting= dw_1.describe("datawindow.querymode")
dw_1.modify ("datawindow.querymode= yes")

my click event of retrieve button as below:
dw_1.settrans (SQLCA)
dw_1.retrieve()

my script unable to allow user to keyin in 3rd column, and retrieve data.
Do anyone know the solution? thanks you. :D

Post Reply