Sep 22, 2010 #1 Nro Programmer Joined May 15, 2001 Messages 337 Location CA Hi all. Is it possible to print the database name and path in the page footer of a report? Thanks in advance Nro
Hi all. Is it possible to print the database name and path in the page footer of a report? Thanks in advance Nro
Sep 22, 2010 #2 MajP Technical User Joined Aug 27, 2005 Messages 9,382 Location US In a standard module Public Function getNameAndPath() As String getNameAndPath = CurrentDb.Name End Function in a calculated control =getNameAndPath() Upvote 0 Downvote
In a standard module Public Function getNameAndPath() As String getNameAndPath = CurrentDb.Name End Function in a calculated control =getNameAndPath()
Sep 22, 2010 Thread starter #3 Nro Programmer Joined May 15, 2001 Messages 337 Location CA MajP, thanks for this quick answer. I found an other command CurrentProject.FullName Very usefull Nro Upvote 0 Downvote
MajP, thanks for this quick answer. I found an other command CurrentProject.FullName Very usefull Nro
Sep 23, 2010 #4 MajP Technical User Joined Aug 27, 2005 Messages 9,382 Location US yep, there are several ways to do that. Upvote 0 Downvote