Found it. Code below works from any vb location doesn't have to be module or
have variable set.
CurrentProject.Properties.Add "AllowBypassKey", False
"germainHuberdeau" wrote:
> The createProperty method works fine for mdb file type. I'm looking for a
> solution using the add method for adp file types (AccessObjectProperties).