G
Guest
I have SQL Server 2000 with access 2003 frontend. The following line of vba
code in access gives an error:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3,
"dbo.TM_ProjectMembers", strInputFileName, True, "sheet1!"
The code worked perfectly in Access 2000. After conversion of my front end
to Access 2003 I get an error.
I get runtime error 7874, error message stating that object
"dbo_TM_Projectmembers" cannot be found. Please note that tablename in error
message is changed. Seems that dbo. is changed to dbo_. TM_ProjectMembers is
the target import table.
When I remove dbo. from the vba code I get the same error 7874 stating that
table TM_ProjectMembers cannot be found. The table does exist and the user
has all kinds of access rights on the sql server. TM_ProjectMembers is a
unique tablename within the database. I am using windows integrated security.
Is there a workaround for this problem?
Regards
Tore G.
code in access gives an error:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel3,
"dbo.TM_ProjectMembers", strInputFileName, True, "sheet1!"
The code worked perfectly in Access 2000. After conversion of my front end
to Access 2003 I get an error.
I get runtime error 7874, error message stating that object
"dbo_TM_Projectmembers" cannot be found. Please note that tablename in error
message is changed. Seems that dbo. is changed to dbo_. TM_ProjectMembers is
the target import table.
When I remove dbo. from the vba code I get the same error 7874 stating that
table TM_ProjectMembers cannot be found. The table does exist and the user
has all kinds of access rights on the sql server. TM_ProjectMembers is a
unique tablename within the database. I am using windows integrated security.
Is there a workaround for this problem?
Regards
Tore G.