No, there is no such thing as a lowly question. ;-)
I am not familiar with the TADOQuery class. Is this a class object you
wrote?
However, if you are creating multiple instances of a object, and that object
has it's own recordset, then I can't imagine why using one object would
effect the other. The only possibility here would be that both of your
objects are referencing the same global reocrdset, but that would indeed be
lame.
If you are talking about writing class objects in ms-access, access97 does
allow you to reference the base object without creating new instance of the
object, but this not your problem. (in a2000, you can't do that anymore, as
it is the same as VB6).
Perhaps you are not creating a new instance of the recordset object for each
instance of the object you are using?
--
Albert D. Kallal (MVP)
Edmonton, Alberta Canada
ka****@msn.com http://www.attcanada.net/~kallal.msn
"John Fine" <jo*******@hotmail.com> wrote in message
news:ff*************************@posting.google.co m...
I wrote a Delphi application that accesses a local Access database
using 2 instances of the TADOQuery class. Unfortunately, when I
traverse the DB records using the first TADOQuery instance, the
pointer to the active record maintained by the second TADOQuery
instance is also affected. Is there a way I can force Delphi to use a
seperate pointer to the DB for each instance of my class?
I'm truely a beginner in DB programming, so I apologize if my question
is lowly.
Thanks heaps,
John Fine