Found it. The simple code below actually works.
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).