1. ATK Gimmy Susan
  2. PowerBuilder
  3. Monday, 20 May 2019 12:42 PM UTC

Is it possible to change the number of rows in a Datawindows when it is in query mode ?

ty

Accepted Answer
DIPANJAN DUTTA Accepted Answer Pending Moderation
  1. Tuesday, 21 May 2019 05:00 AM UTC
  2. PowerBuilder
  3. # Permalink

By default it is always 24.......if you reduce it you have to do it manually using DeleteRow and SetRedraw methods like below code

dw_ex.SetRedraw(False)
dw_ex.Modify("DataWindow.QueryMode=yes")
dw_ex.DeleteRow(1)
dw_ex.DeleteRow(1)
dw_ex.DeleteRow(1)
dw_ex.SetRedraw(True)
MessageBox("", dw_ex.RowCount())

//Now the row Count is 21

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Monday, 20 May 2019 13:05 PM UTC
  2. PowerBuilder
  3. # 1

i believe that 24 is the number of rows in querymode.   it is not settable.  

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.