RunQuery Paging should default to True

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

RunQuery Paging should default to True

Unread post by CathyC »

image.png
image.png (11.77 KiB) Viewed 636 times
image.png
image.png (11.77 KiB) Viewed 636 times
Its hard to explain in the documentation that it is blank, but its default is to be True. and then when you run it from the canvas, no matter what is there, it will always be True. That functionality is all okay and makes sense for other reasons, but we could clear that up by making it "True" right when its dragged onto the canvas.

Also because if you just tell a developer that there is a "Paging" parameter, its not clear if it accepts a number or a word or a boolean. This will make that very clear. It should also have static values of True/False to also make this clear.

EDIT: also after talking with Suman, it is not recommended to leave ReturnTotalCount as True. So this should default to False.
I explain why in the training, because behind the scenes it needs to run 2 queries to return the results and the count, so it is not efficient.
Last edited by CathyC on March 12th, 2023, 9:16 pm, edited 1 time in total. word count: 178

Tags:
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: RunQuery Paging should default to True

Unread post by SteveCap »

Task #11079 has been created. This post will be updated when it has been compelted.
word count: 15
JustinVanRegenmorter
Posts: 573
Joined: August 26th, 2021, 9:56 am
Contact:

Re: RunQuery Paging should default to True

Unread post by JustinVanRegenmorter »

This change has been implemented as of DesignTime Revision 2575.
word count: 10
Post Reply