1. Konrad Kaltenbach
  2. PowerBuilder
  3. Wednesday, 25 November 2020 12:39 PM UTC

Dear Experts,
I want to give the users of my program the ability to type criteria for a Select query in a DataWindow.
For this purpose I added the following command in an Button Clicked event:

dw_xy.modify( "datawindow.querymode=yes").

If the button is clicked the DataWindow ist cleared but what I type using the keyboard is not appearing in the DataWindow, it stays empty.

Display Only = no is set for every column yet.

What do I have to do?

Konrad Kaltenbach

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 25 November 2020 14:19 PM UTC
  2. PowerBuilder
  3. # Permalink

What style of DataWindow is it? Free-form? Tabular, Grouped? Grid? Do all of the column DWObjects have a tab order > 0? Do the column DWObject have a Protect property value or expression that evaluates to 0 (not protected)?

Comment
There are no comments made yet.
Konrad Kaltenbach Accepted Answer Pending Moderation
  1. Wednesday, 25 November 2020 14:59 PM UTC
  2. PowerBuilder
  3. # 1

Style of DataWindow: Tabular.

The column DWObjects didn't have tab order >0! I changed this and now it works.

The DWObject Protect property I had not touched.

Thanks so much!

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.