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.
Marshall Barton - 30 Apr 2008 23:44 GMT
>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"

Signature
Marsh
MVP [MS Access]