Pavel
2004-09-10 11:11:10 UTC
I have a simple task: Delphi7 ADO dataset >> select query (SELECT Name FROM
Names WHERE Name LIKE "nov*";) in a separate thread. The dataset needs
asynchrounous fetching (due to the huge amount of matching record that I
need to display during the fetching), so this property is set to True.
But the result is very strange - the query sometimes looses first record (or
records) unless I slow down the thread priority to tpLower (or, on more
powerful machines even slower!).
Whene asynchrounous fetching is set to False - everything is OK (but that's
not the goal).
Additionaly, if some windows task runs and consumes more CPU time,
asnynchrounous query looses first records too. The behaviour is sometime
accidental (repeated query gives different results).
system: Windows XP, latest updates...
I have already posted this problem some time ago, but have not got a
satisfactory...
Can anybody help or should I try Microsoft hotline?? :-))
Pavel
Names WHERE Name LIKE "nov*";) in a separate thread. The dataset needs
asynchrounous fetching (due to the huge amount of matching record that I
need to display during the fetching), so this property is set to True.
But the result is very strange - the query sometimes looses first record (or
records) unless I slow down the thread priority to tpLower (or, on more
powerful machines even slower!).
Whene asynchrounous fetching is set to False - everything is OK (but that's
not the goal).
Additionaly, if some windows task runs and consumes more CPU time,
asnynchrounous query looses first records too. The behaviour is sometime
accidental (repeated query gives different results).
system: Windows XP, latest updates...
I have already posted this problem some time ago, but have not got a
satisfactory...
Can anybody help or should I try Microsoft hotline?? :-))
Pavel