Page 1 of 1

TMSTable OnFilterRecord

Posted: Fri 03 Apr 2020 12:47
by jvm
Hello,

I set up on a TSMTable, an OnFilterRecord event,

This event removes the recording on which we double click on the DBGrid and then performs a Refresh.

My problem is that the TMSTable reloads the data and then puts me back on the first record in the DBGrid, like doing so that it selects just the next in the DBGrid without reloading everything?

Thanks for your help.

Best regards

Re: TMSTable OnFilterRecord

Posted: Fri 03 Apr 2020 14:12
by jvm
Hello,

I answer myself, instead of doing:

MSTable.Refresh

We have to do

MSTable.RefreshRecord

Thanks everyone

Re: TMSTable OnFilterRecord

Posted: Mon 06 Apr 2020 12:28
by Stellar
Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.