E
Ennex
Okay, Dan Artuso informed me that Dynaset is obsolete, so I've removed it
from my code. Also, an MS Web page tells me that the Table object is found in
the "ADO Ext. for DDL and Security" reference, so I've selected that. So my
errors on Dynaset and Table objects have gone away. Thank you.
Now attempting to compile gives:
"Compile Error:
Function or interface marked as restricted,
or the function uses an Automation type
not supported in Visual Basic",
highlighting ".OpenTable" in the statement
"Set AffilsTable = EnnexDB.OpenTable("Affiliations")"
EnnexDB is declared at the top of the module by:
"Dim EnnexDB As Database"
and is defined in the function by:
"Set EnnexDB = CurrentDb"
Can you tell me what's wrong with my use of the OpenTable property here? It
used to work in Access 2000.
Thank you for your help.
(Using Access 2003 under Win XP Pro on a Dell Inspiron 600m.)
Regards,
Marshall Burns
www.Ennex.com
from my code. Also, an MS Web page tells me that the Table object is found in
the "ADO Ext. for DDL and Security" reference, so I've selected that. So my
errors on Dynaset and Table objects have gone away. Thank you.
Now attempting to compile gives:
"Compile Error:
Function or interface marked as restricted,
or the function uses an Automation type
not supported in Visual Basic",
highlighting ".OpenTable" in the statement
"Set AffilsTable = EnnexDB.OpenTable("Affiliations")"
EnnexDB is declared at the top of the module by:
"Dim EnnexDB As Database"
and is defined in the function by:
"Set EnnexDB = CurrentDb"
Can you tell me what's wrong with my use of the OpenTable property here? It
used to work in Access 2000.
Thank you for your help.
(Using Access 2003 under Win XP Pro on a Dell Inspiron 600m.)
Regards,
Marshall Burns
www.Ennex.com