Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / May 2004

Tip: Looking for answers? Try searching our database.

dbo in Record Source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Williams - 26 May 2004 21:13 GMT
I've inherited an Access 2000 ADP which I've been tasked to rewrite in VB.
It uses no security, (sa and blank password), and my first step is to secure
the SQL Server database.  Problem is, when I switch over to NT integrated
security, the reports based on stored procedures cease to function.  However
if I add 'dbo.' in front of the sp name, they work fine.  I programmed
extensively with ADP's a few years ago and I've never come across this.

So, do I need to go into all the reports and add the dbo, or is there a way
around this.  I'd like to get the database secured before I begin the new
application.

TIA

-Andy
Uwe Ricken - 27 May 2004 03:06 GMT
Hi Andy,

> So, do I need to go into all the reports and add the dbo, or is there a way
> around this.  I'd like to get the database secured before I begin the new
> application.

Yes you have to do. The prefix "dbo" is not a feature by Access but by
the sql server. It es always better to use the full qualifyer for
sql-objects
in any case.

[owner].[object]

The same is to do in VIEWS, SP's, FUNCTIONS etc in SQL-Server (T-SQL)

dbo is the owner of the object. And the application you have to
rewrite
is only working because every user was acting as dbo because he is
logged on
as "sa".

HTH ;-)

Signature

Gruß, Uwe Ricken
MCP for SQL Server 2000 Database Implementation

GNS GmbH, Frankfurt am Main
http://www.gns-online.de
http://www.memberadmin.de
http://www.conferenceadmin.de
____________________________________________________
APP:   http://www.AccessProfiPool.de
dbdev: http://www.dbdev.org
FAQ:   http://www.donkarl.com/AccessFAQ.htm

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.