d.bernaert Posted April 22, 2022 Share Posted April 22, 2022 Hello, Normally when we call the refresh method of an ibdac query, the data gets requeried from the database. When clicking the refresh button of the unidbgrid, this seems to have another behavior, it does not requery data from the database. This is probably an ibdac question, but is it possible when clicking the refresh button below the unidbgrid the refresh method of the ibdac query is called? I've tried setting the option fullrefresh on the query component without luck. Thx, Dominique Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 22, 2022 Share Posted April 22, 2022 Hello Dominique, Then, you can override the grid's refresh button handler. Quote Link to comment Share on other sites More sharing options...
d.bernaert Posted April 22, 2022 Author Share Posted April 22, 2022 Okay, how to do that? Thx. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 22, 2022 Share Posted April 22, 2022 10 minutes ago, d.bernaert said: Okay, how to do that? Thx. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted April 23, 2022 Share Posted April 23, 2022 On 4/22/2022 at 12:55 PM, d.bernaert said: Hello, Normally when we call the refresh method of an ibdac query, the data gets requeried from the database. When clicking the refresh button of the unidbgrid, this seems to have another behavior, it does not requery data from the database. This is probably an ibdac question, but is it possible when clicking the refresh button below the unidbgrid the refresh method of the ibdac query is called? I've tried setting the option fullrefresh on the query component without luck. Thx, Dominique Hello, Maybe clicking Refresh Button is not necessary. After Modify, i am refreshing my record like this : MyDataSet.RefreshOptions:=[roAfterUpdate]; MyDataSet.RefreshRecord; dbg.RefreshCurrentRow(); IBDAC 8.1.1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.