P
Pasquale
Hello,
In Access 2000 using DAO, I have two mdb files: one containing the tables
only and another one with VBA modules and query and so on.
I've noticed that when I link to tables from one mdb to another, Access
2000 will treat successive Recordsets instances in VBA as Dynasets
"automatically", that is, if I use Recordset.Type the value 2 is
returned, which stands for Dynaset.
I've noticed this because I had data and code all in one mdb file and
used Recordset.Recordcount, which returned the correct number of records
in a table, while, after separating data and code (thus linking the
tables to the code mdb file), the same code would return 1.
In the meantime I have found out that with Dynaset I must use
Recordset.MoveLast before using Recordset.Recordcout - Dynaset doesn't
fetch the entire Recordset by default.
I was wondering however, since this behavior is "automatic" is there no
way to tell Access 2000 to treat a table as "Table type" if it isn't
stored in the same mdb file?
TIA
p
In Access 2000 using DAO, I have two mdb files: one containing the tables
only and another one with VBA modules and query and so on.
I've noticed that when I link to tables from one mdb to another, Access
2000 will treat successive Recordsets instances in VBA as Dynasets
"automatically", that is, if I use Recordset.Type the value 2 is
returned, which stands for Dynaset.
I've noticed this because I had data and code all in one mdb file and
used Recordset.Recordcount, which returned the correct number of records
in a table, while, after separating data and code (thus linking the
tables to the code mdb file), the same code would return 1.
In the meantime I have found out that with Dynaset I must use
Recordset.MoveLast before using Recordset.Recordcout - Dynaset doesn't
fetch the entire Recordset by default.
I was wondering however, since this behavior is "automatic" is there no
way to tell Access 2000 to treat a table as "Table type" if it isn't
stored in the same mdb file?
TIA
p