Page 1 of 1

RunQuery Paging should default to True

Posted: December 21st, 2022, 3:46 pm
by CathyC
image.png
image.png (11.77 KiB) Viewed 605 times
image.png
image.png (11.77 KiB) Viewed 605 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.

Re: RunQuery Paging should default to True

Posted: January 3rd, 2023, 11:56 am
by SteveCap
Task #11079 has been created. This post will be updated when it has been compelted.

Re: RunQuery Paging should default to True

Posted: April 12th, 2023, 9:31 am
by JustinVanRegenmorter
This change has been implemented as of DesignTime Revision 2575.