General X++ Development
How do I clear a query range in X++?
How do I clear a query range in X++?
1 answer
Write an answerIf you already have the QueryBuildRange, make it unlimited instead of leaving an old filter behind.
range.value(SysQuery::valueUnlimited());You can also remove or rebuild ranges depending on how the query is structured.
The main thing is not to keep stacking new ranges on top of old ones and then wonder why the query returns nothing.
Know the solution?
Sign in to contribute an answer and build your community reputation.
Sign in to answer