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"
 
Top