Query a collection list using script overwriting the initial query used

Hi there. Is there a way to make a new query to a list using script and overwriting the initial query used in the Datasheet? Thank you

Query should refresh every time you update the Data slot value which is used in the Query. Other way is to use the “Refresh Data sheet” option.

If you want to completely overwrite the query (change the query totally) then there is no solution. You could try to hack it so that you write the complete Query into Data slot and just set the Data slot into Query field in Data sheet. I’m not 100% sure if it works but it’s worth trying. You just need to figure out what kind of syntax the Studio generates into code.

Great. Let’s try . Tks