[AccessD] ADPs - accessing SQL Views

Roz Clarke roz.clarke at donnslaw.co.uk
Thu Sep 23 09:57:02 CDT 2004


Thanks Patti, and also Chris

Tom (my developer) had got his connection objects mixed up and was getting
the wrong permissions as a result.

Cheers for your help

Roz

-----Original Message-----
From: O'Connor, Patricia (OTDA) [mailto:Patricia.O'Connor at dfa.state.ny.us] 
Sent: 23 September 2004 15:48
To: Access Developers discussion and problem solving
Subject: RE: [AccessD] ADPs - accessing SQL Views


Roz, 

What is the error you are getting?

Check the permissions for the TABLES underlying the View as well as the
view.  We ran into something similar because the Code tables that made up
the view did not have the same permissions as the main table.

HTH
Patti

******************************************************************
*Patricia O'Connor
*Associate Computer Programmer Analyst
*OTDA - BDMA
*(W) mailto:Patricia.O'Connor at dfa.state.ny.us
*(w) mailto:aa1160 at dfa.state.ny.us
******************************************************************
 

> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke
> Sent: Thursday, September 23, 2004 04:33 AM
> To: 'Access Developers discussion and problem solving'; 
> dba-sqlserver at databaseadvisors.com
> Subject: [AccessD] ADPs - accessing SQL Views
> 
> Dear all
> 
> I have had this problem raised by one of the developers on my
> team. Can anyone assist?
> 
> "Using ADO objects via OLE DB, I can access data in my SQL
> Server database in the form of tables and stored procs with 
> no problem.  When I try and retrieve records from a SQL 
> Server view, I get an OLE DB error.  I have tried using all 
> the different ways, command objects, recordsets etc."
> 
> TIA
> 
> Roz
> 
> 
> 
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-------------- next part --------------

The contents of this message and any attachments are the property of Donns Solicitors 
and are intended for the confidential use of the named recipient only.  They may be legally
 privileged and should not be communicated to, or relied upon, by any other party without 
our written consent.  If you are not the addressee, please notify us immediately so that we 
can make arrangements for its return.  You should not show this e-mail to any person or
 take copies as you may be committing a criminal or civil offence for which you may be
 liable.  The statement and opinions expressed in this e-mail message are those of the 
writer, and do not necessarily represent that of Donns Solicitors.  Although any files attached
 to this e-mail will have been checked with virus protection software prior to transmission, 
you should carry out your own virus check before opening any attachment.  
Donns Solicitors does not accept any liability for any damage or loss which may be caused 
by software viruses...


More information about the AccessD mailing list