Search code examples
ms-accessvbams-access-2016

Access 2016 - update Application Title - properties not found


Did upgrade and application from access 2003 to access 2016

the following code

CurrentDb.Properties("AppTitle").value = "Test Client"

give me a properties not found error

How can I fix it ?


Solution

  • If you want to use a user-defined property, you have to define it once:

    CurrentDb.Properties.Append CurrentDb.CreateProperty("AppTitle", dbText, "Test Client")
    

    And then you can use it like you were using it