[AccessD] Can't Delete on Network Drive

Hollis,Virginia HollisVJ at pgdp.usec.com
Tue Mar 18 14:47:00 CST 2003


Ok, narrowing it down. It seems to have something to do with the
StartupProperties.
ChangeProperty "AllowBuiltinToolbars", dbBoolean, False
ChangeProperty "AllowFullMenus", dbBoolean, False
 
These startup properties have to be set to True. Which I don't understand
because I have the set to False in the database that does allow me to delete
the record. I change them to True & I was able to delete.
 
I really like the properties set to False.
 
Any ideas whe the same properties work differently between the databases?

-----Original Message-----
From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com]
Sent: Tuesday, March 18, 2003 2:16 PM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] Can't Delete on Network Drive


I do not understand why it works (can delete) in one database & not another.
They are both on the same drive.
 
I do not use the built-in Access security.
 
I am not able to change the security settings for the folder - that is done
through IT. So nothing has changed lately. It just has be so puzzled that it
works on one database & not the other???
 
Virginia

-----Original Message-----
From: John Frederick [mailto:j.frederick at att.net]
Sent: Tuesday, March 18, 2003 1:38 PM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Can't Delete on Network Drive


Sounds like OS security.  When I gen a system for my home network, I go
around and disable all the security gotchas that I know of.  If you're on
your work network, you want to be more careful.  In your case, the os on the
machine with the Access data mdb has to either allow anyone coming in from
the network to make changes or it has to have a login/password for the
client and you have to either supply it when accessing the data mdb or build
it into your links and OpenRecordset commands.  If you don't care about
security, I suggest the following:
1.  On the data machine, enable the guest account.  How you do that is os
dependent.  On W2k, go to Control Panel/Administrative Tools/Computer
Management/Local Users and Groups. Select User: "Guest", click "Account is
Disabled" off, and for good measure, add the Guest and Everyone to the
Administrators Group.
2.  On the folder containing the data mdb, right click, choose security, and
give everyone listed full permissions for the folder.
3.  Either wait a day to give someone who knows more about security to
advise you not to do this, OR, take careful notes so you can undo it.
 

-----Original Message-----
From: accessd-admin at databaseadvisors.com
[mailto:accessd-admin at databaseadvisors.com]On Behalf Of Hollis,Virginia
Sent: Tuesday, March 18, 2003 1:34 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] Can't Delete on Network Drive


I need to delete a record using a form (this is 97). The strange thing is if
I copy the database to my hard drive I can delete the record, but when the
database is on the network drive (where it lives) I get the error message
"2046, The Command or Action DeleteRecord is not Available Now". I use the
same code in another database on the same network drive and folder & it
works fine - I can delete the record. 
 
I tried copying the database to my hard drive & copying it back to the
network. I even imported everything into a new database.
 
What should I be looking for in this database that would prevent deletions
just because it is on the network drive?
 
On the command button I have:
 
Me.AllowDeletions = True
RunCommand acCmdDeleteRecord
 
Virginia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030318/f8f18357/attachment-0001.html>


More information about the AccessD mailing list