Display name of current file or current db (1 Viewer)

brucesilvers

Registered User.
Local time
Today, 01:19
Joined
Aug 4, 2000
Messages
70
I know I can use Date() to display the current system date on a report.

Is there a similar command to display either the name of the current file or the name of the current database?

Thanks!!
 

brucesilvers

Registered User.
Local time
Today, 01:19
Joined
Aug 4, 2000
Messages
70
Thanks. :) I'd hoped there was something that could be used within the report-design GUI, similar to &[Page].
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 04:19
Joined
Feb 19, 2002
Messages
43,233
add an unbound control and use the given expression as its controlsource:

=CurrentDb.Name
 

Users who are viewing this thread

Top Bottom