Page 1 of 1

Subfile not clearing consistently on filter

Posted: Mon Dec 12, 2022 5:57 pm
by hdavolt
I am trying to write a RPG grid in a rich display file with a filter. I am using "filter response" to submit to the program and using that to build a custom SQL statement. My issue is that, even though I am using subfile clear, the filtered results sometimes appear on top of the old results:
2022-12-02 15_58_23-Genie Test - Pratt Industries and 1 more page - Profile 1 - Microsoft​ Edge.png
2022-12-02 15_58_23-Genie Test - Pratt Industries and 1 more page - Profile 1 - Microsoft​ Edge.png (16.68 KiB) Viewed 1815 times
I've attached the relevant subroutine, as well as the grid object from the display file. Let me know if you need to see anything else

Re: Subfile not clearing consistently on filter

Posted: Tue Dec 13, 2022 1:21 pm
by hdavolt
After further testing, this only appears to happen when a new filter is applied. It refreshes properly when the filter is changed.