I have been using Custom Database Properties with Access 97 and 2000 with no problems but my code no longer works when I use it in an Access Project.
The code is as follows to get the value of TestingYesNo which is a Boolean value
Dim dbs As Database
Dim doc As Document
Dim Testing As Boolean
Set dbs = CurrentDb
Set doc = dbs.Containers("Databases"!UserDefined
Testing = doc.Properties!TestingYesNo
Microsoft DOA 3.6 Object Library is set
My Access Project lets me add Custom Database Properies from the Database Window but I can't find a way to get to the Property I have set up.
Any suggestions
Peterben
The code is as follows to get the value of TestingYesNo which is a Boolean value
Dim dbs As Database
Dim doc As Document
Dim Testing As Boolean
Set dbs = CurrentDb
Set doc = dbs.Containers("Databases"!UserDefined
Testing = doc.Properties!TestingYesNo
Microsoft DOA 3.6 Object Library is set
My Access Project lets me add Custom Database Properies from the Database Window but I can't find a way to get to the Property I have set up.
Any suggestions
Peterben