D
dchendrickson
I am using Access2002/XP-Pro. I am writting VBA using
primarily ADO.
In the application I have been creating, I started
running into trouble using the seek method on recordsets.
I would look into it a little, get frustrated and then
work around it using the find method. Now I find that I
have some modules developed early in the project that no
longer work.
A little deeper research showed that splitting my
database and linking the tables from the backend makes
the seek method go "tilt". The help document said I need
to open an external conection to the backend and then use
the seek method directly on the table.
I am not sure how to do this - or more specifically where
to do this. When I open a recordset, I typically set the
connection to currentproject.connection. Do I make a
change here?
As a matter of good practice/code design, should I always
open an external connection for recordsets if the tables
are linked?
My database - although split into FE and BE, is on a
local machine harddrive, single user, no security. It
will probably expand in the future, but not any time soon.
As always, thank you for your time, insight, and
willingness to nurse along those of us who know just
enough to be dangerous!
-dc
primarily ADO.
In the application I have been creating, I started
running into trouble using the seek method on recordsets.
I would look into it a little, get frustrated and then
work around it using the find method. Now I find that I
have some modules developed early in the project that no
longer work.
A little deeper research showed that splitting my
database and linking the tables from the backend makes
the seek method go "tilt". The help document said I need
to open an external conection to the backend and then use
the seek method directly on the table.
I am not sure how to do this - or more specifically where
to do this. When I open a recordset, I typically set the
connection to currentproject.connection. Do I make a
change here?
As a matter of good practice/code design, should I always
open an external connection for recordsets if the tables
are linked?
My database - although split into FE and BE, is on a
local machine harddrive, single user, no security. It
will probably expand in the future, but not any time soon.
As always, thank you for your time, insight, and
willingness to nurse along those of us who know just
enough to be dangerous!
-dc