Re: MS Access can't find Recordsource object
From: Mary Chipman [MSFT] (mchip_at_online.microsoft.com)
Date: 02/04/05
- Next message: Andrew J. Kelly: "Re: database space"
- Previous message: Tom Moreau: "Re: error 8152 in sql update statement"
- In reply to: Brett: "MS Access can't find Recordsource object"
- Next in thread: Brett Wilson: "Re: MS Access can't find Recordsource object"
- Reply: Brett Wilson: "Re: MS Access can't find Recordsource object"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 04 Feb 2005 18:29:06 -0500
Letting your users run as sysadmins is extremely dangerous and is
always the wrong answer when your application doesn't run correctly. I
suspect you are using Access 2000? If so, upgrading is one option
since later versions are better able to resolve queries where objects
are owned by dbo. If upgrading isn't an option, then you must prepend
the ownername to the object name as in "SELECT * FROM dbo.MyTable". If
your objects are owned by users other than dbo, it is recommended that
you transfer ownership to dbo by executing the sp_changeobjectowner
system stored procedure on those objects.
--Mary
On Fri, 4 Feb 2005 13:55:07 -0800, "Brett"
<Brett@discussions.microsoft.com> wrote:
>I have an MS Access project front end that is connected to an MSDE backend.
>For several reports and forms I have the recordset property set to the name
>of a stored procedure or a view. Everything works fine for me (as an MSDE
>sys admin). However, when other users try to open the form or report they
>get the error "Object not found" which I assume is because they cannot fully
>resolve the name. If I give those users sysadmin privileges, everything
>works fine. If I add dbo. to the front of the stored procedure or view name,
>it works fine for those users with normal permissions. I don't really want
>to do this as it would require a lot of changes both to the recordsource
>properties and to the actual stored procedures that reference objects without
>a complete name.
>I tried giving ownership of all the databases on the server to these people
>and that didn't work either. Only giving them full sysadmin resolves the
>problem.
>
>Does anyone know what permission I must grant in order for these users to be
>able to open the forms and reports?
- Next message: Andrew J. Kelly: "Re: database space"
- Previous message: Tom Moreau: "Re: error 8152 in sql update statement"
- In reply to: Brett: "MS Access can't find Recordsource object"
- Next in thread: Brett Wilson: "Re: MS Access can't find Recordsource object"
- Reply: Brett Wilson: "Re: MS Access can't find Recordsource object"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|