HELP!!..accessing access 2000 with linked SQL Server tables 
Author Message
 HELP!!..accessing access 2000 with linked SQL Server tables

Hi,

I am having a problem with connecting to the Access 2000 database.  Here's
my situation.

I have a VB6 frontend using Access 2000 with linked tables to SQL Server
2000
Before I moved the tables to Sql Server the code works fine.

Here is some of my code:

daoDB36 as Database
rs as DAO.recordset

....
set rs = [datUsers].Database.OpenRecordset("Log", dbOpenTable, dbAppendOnly)
...

If the Access 2000 database doesnt have linked tables to SQL Server 2000, it
works fine.  If I have linked tables then I get the following error:

Run-time error '3219'   Invalid Operation.

Is there something special I need to do to be able to access linked tables
in SQL Server 2000??
Could you please help??
Thanks,
Will



Sat, 16 Oct 2004 00:45:21 GMT  
 HELP!!..accessing access 2000 with linked SQL Server tables
Try different recordset type (instead of dbOpenTable try dbOpenDynaset) and
see if you still get the error

Raf

--

Rafael Szuminski
www.BDCSoftware.com


Quote:
> Hi,

> I am having a problem with connecting to the Access 2000 database.  Here's
> my situation.

> I have a VB6 frontend using Access 2000 with linked tables to SQL Server
> 2000
> Before I moved the tables to Sql Server the code works fine.

> Here is some of my code:

> daoDB36 as Database
> rs as DAO.recordset

> ....
> set rs = [datUsers].Database.OpenRecordset("Log", dbOpenTable,
dbAppendOnly)
> ...

> If the Access 2000 database doesnt have linked tables to SQL Server 2000,
it
> works fine.  If I have linked tables then I get the following error:

> Run-time error '3219'   Invalid Operation.

> Is there something special I need to do to be able to access linked tables
> in SQL Server 2000??
> Could you please help??
> Thanks,
> Will



Sat, 16 Oct 2004 14:20:39 GMT  
 HELP!!..accessing access 2000 with linked SQL Server tables
thanks Raf.
Will

Quote:
> Try different recordset type (instead of dbOpenTable try dbOpenDynaset)
and
> see if you still get the error

> Raf

> --

> Rafael Szuminski
> www.BDCSoftware.com



> > Hi,

> > I am having a problem with connecting to the Access 2000 database.
Here's
> > my situation.

> > I have a VB6 frontend using Access 2000 with linked tables to SQL Server
> > 2000
> > Before I moved the tables to Sql Server the code works fine.

> > Here is some of my code:

> > daoDB36 as Database
> > rs as DAO.recordset

> > ....
> > set rs = [datUsers].Database.OpenRecordset("Log", dbOpenTable,
> dbAppendOnly)
> > ...

> > If the Access 2000 database doesnt have linked tables to SQL Server
2000,
> it
> > works fine.  If I have linked tables then I get the following error:

> > Run-time error '3219'   Invalid Operation.

> > Is there something special I need to do to be able to access linked
tables
> > in SQL Server 2000??
> > Could you please help??
> > Thanks,
> > Will



Sun, 17 Oct 2004 00:07:33 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Access 2000 VBA/SQL - cannot create pseudo-index on linked SQL Server table

2. DNS less Access Linked tables to SQL Server 2000

3. How to make a LINK Table in SQL 2000 Like MS Access

4. Updating A SQL server table through DAO and ODBC In Access 2000

5. Linking Access 2000 Table to Outlook 2000 Tasks

6. Linked Tables in SQL Server 2000

7. Question about linking SQL Server Tables in Access 98

8. Saving embedded word 97 docs in Access db with linked SQL Server tables

9. 16-bit VB 4.0 app slow accessing linked SQL Server tables

10. Link SQL server table to Access using ADO

11. Executing MS SQL Server 2000 stored procs via MS Access 2000

12. Importing an Access 2000 table into another Access 2000 database with VB Code

 

 
Powered by phpBB® Forum Software