TMSTable OnFilterRecord

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jvm
Posts: 5
Joined: Fri 04 May 2018 08:49

TMSTable OnFilterRecord

Post by jvm » Fri 03 Apr 2020 12:47

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

jvm
Posts: 5
Joined: Fri 04 May 2018 08:49

Re: TMSTable OnFilterRecord

Post by jvm » Fri 03 Apr 2020 14:12

Hello,

I answer myself, instead of doing:

MSTable.Refresh

We have to do

MSTable.RefreshRecord

Thanks everyone

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: TMSTable OnFilterRecord

Post by Stellar » Mon 06 Apr 2020 12:28

Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.

Post Reply