Delete Custom Database Property

D

dch3

Can someone post a snip showing the proper syntax that deletes a custom
property on database? I'd post the offending code, but I don't have access to
it and I'm a bit rushed at the moment.
 
M

Marshall Barton

dch3 said:
Can someone post a snip showing the proper syntax that deletes a custom
property on database? I'd post the offending code, but I don't have access to
it and I'm a bit rushed at the moment.


Depends on what Container and Document it's in.

Try using:

CurrentDb.Containers!Databases.Documents!UserDefined.Properties.Delete
"NameOfProperty"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top