Microsoft KB Archive/208929

= ACC2000: Can't Change Ownership When RunPermissions Set to Owner's =

Article ID: 208929

Article Last Modified on 1/26/2005

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208929



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
The owner of a query cannot transfer its ownership if the query's RunPermissions property is set to Owner's. This is true even if the owner has Administer permission for the query.



RESOLUTION
Change the query's RunPermissions property from Owner's to User's. Then you can change the ownership of the query.



STATUS
This behavior is by design. Allowing someone to change the ownership of the query after the RunPermissions property has been set to Owner's would be a security breach.



MORE INFORMATION
To change the ownership of a database object, you must have Administer permission for the object. You can change your permissions on the object if you are logged on as the object's owner, as a member of a group that has Administer permission on the object, or as a member of the Admins group in the workgroup in which the database that contains the object was created. If you cannot change your permissions on an object, see your workgroup administrator or the object's owner.

NOTE: Even if you satisfy all conditions in the previous paragraph, you still cannot transfer ownership of a query if its RunPermissions property is set to Owner's.

Steps to Reproduce Behavior
 Start Microsoft Access and log on as the Admin user. Open the sample database Northwind.mdb, and then open the Current Product List query in Design view. Using the right mouse button, click the query, and then click Properties on the menu that appears. Set the query's RunPermissions property to Owner's, and then save and close the query. On the Tools menu, click Security, and click User and Group Accounts. Click the New button. Create a new user called Joe, and make him a member of the Users group. Click OK. On the Tools menu, click Security, and click User and Group Permissions. Click the Change Owner tab.</li> In the Object Type box, click Query, and click the Current Product List query in the Object box. In the New Owner box, click Joe. Click the Change Owner button. Note that you receive the message:

You don't have permission to change the owner of 'Current Product List.'

</li></ol>

<div class="references_section">