Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Properties 1

Status
Not open for further replies.

rgbanse

MIS
Jun 4, 2001
211
US
One of the properties for each database is "Manager"
File/Database Properties - Summary Tab
Is there some VBA code to extract this info - similar to Msgbox CurrentDb.Name
thx
RGB
 
The following code should do it for you.

Dim dbs As DAO.Database

Dim ctrDatabases As DAO.Container
Dim docSummaryInfo As DAO.Document
Set dbs = CurrentDb

Set ctrDatabases = dbs.Containers!Databases
Set docSummaryInfo = ctrDatabases.Documents!SummaryInfo
MsgBox docSummaryInfo.Properties("Manager")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top