Re: No update of DBGrid based on TADOQuery?
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Fri, 24 Nov 2006 19:27:40 -0600
Anotrher strange thing:
Requery and Repaint, called immediately after the function that calls
Post, obviously have no effect. But when they are called from the
OnClick procedure of a button, they work.
However, the grid should update itself automatically; the user is not
supposed to press abutton to refresh it...
Unfortunately JET engine has a latency built into it and that is what you are
seeing
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q200300
You can try this from your code
adoconnection1.properties.Item['Jet OLEDB:Page Timeout'].Value:=500;
This should overrides the registry setting and change it to 500 ms (needs to be
applied after the connection is opened).
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- References:
- No update of DBGrid based on TADOQuery?
- From: macaileacs
- Re: No update of DBGrid based on TADOQuery?
- From: Brian Bushay TeamB
- Re: No update of DBGrid based on TADOQuery?
- From: macaileacs
- Re: No update of DBGrid based on TADOQuery?
- From: macaileacs
- No update of DBGrid based on TADOQuery?
- Prev by Date: Re: Cancelling an ADO Command takes too long
- Next by Date: Tex file import
- Previous by thread: Re: No update of DBGrid based on TADOQuery?
- Next by thread: Excel data problems
- Index(es):