Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
chrisg
Creator III
Creator III

Reset the Limit of Rows (MaxNumShown)

Hi,

i am using the following Marco to limit the number of rows:

(The limit in this example, is 1000)

sub limitRow

set chart = ActiveDocument.GetSheetObject("CH02")

'set chart = ActiveDocument.Activesheet.CreateStraightTable

'tb.AddField "Member"

set cp = chart.GetProperties

cp.TableProperties.MaxNumShown.v = 1000         

chart.SetProperties cp

SET p = chart.GetProperties

chart.SendToExcel

end sub

I would like to reset the value back to the original value.

So from '1000' to NO LIMIT. Unfortunately I have no idea how to do that.

Many Thx

Christoph

Do or Do Not. There is no try!
Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

Set the value on true (...v. = true).

- Marcus

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try setting it to 0. That causes it to show all records again here (using QV11.2).


talk is cheap, supply exceeds demand
chrisg
Creator III
Creator III
Author

Hi Gysbert,

many thx - but the result is 0 (QV 10)

😞

Do or Do Not. There is no try!
marcus_sommer

Set the value on true (...v. = true).

- Marcus

chrisg
Creator III
Creator III
Author

Danke! Cool

Do or Do Not. There is no try!