Re: Access2003 ADP & SQLServer2005
- From: "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
- Date: Wed, 8 Aug 2007 12:50:40 -0400
I never tried with the 2005 Adventureworks sample database but it's true
that ADP is able to understand only a single schema name (usually but not
necessarily dbo. ); so if it's understand dbo.table1, it won't be able to
understand Humanresources.table2 or Person.table3 and vice-versa because it
will try to call dbo.table2 and dbo.table3 instead of simply trying to call
table2, table3, etc. (When you call table2, Humanresources.table2 will be
called if there is no other table2 under the current default schema name for
the current login but if you try to call dbo.table2 then
Humanresources.table2 will never be called. Same thing with the other
schema names and with the current default schema name.)
This is one of these annoying bugs that are plaguing ADP.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Peter" <peternews@xxxxxxxxxxxxxxxxxx> wrote in message
news:uEjyrSa2HHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
Never really bothered with adps and very little experience with SQL
server, but i just installed SQLServer2005 and then tried to create an adp
using the Adventureworks sample database.
The adp appeared to create ok but if I try to open almost any of the table
I get an error
'Ado Error: Object 'dbo.tablenamehere' does not exist or is not a valid
object for this operation'
If I research the error i get stuff about not using a client machine set
up with a different codepage to access my sql server machine. This is
off-beam, because all of this is on one machine.
If I link to Adventureworks from an mdb I can do so succesfully.
So even though Access created the adp and gives me a list of tables there
is clearly something awry with what it has created.
I believe the problem is something to do with the 'schema' part of the
table definition. I don't understand the schema object in sql server terms
but I am able to open 3 tables which appear to belong to dbo. All the
other tables belong to different schemas such as Humanresources and Person
and I am guessing (!!!) that this is what the adp creation gets wrong.(It
assumes that everything always belongs to dbo?)
Can anyone throw any light on this and perhaps simply tell me that adps
can't deal with schemas or alternatively that there is a solution.
.
- Follow-Ups:
- Re: Access2003 ADP & SQLServer2005
- From: Peter
- Re: Access2003 ADP & SQLServer2005
- References:
- Access2003 ADP & SQLServer2005
- From: Peter
- Access2003 ADP & SQLServer2005
- Prev by Date: Re: connecting to two adp projects error-
- Next by Date: Re: ADP Client (Local) Storage
- Previous by thread: Access2003 ADP & SQLServer2005
- Next by thread: Re: Access2003 ADP & SQLServer2005
- Index(es):
Relevant Pages
|
Loading