Display Database Name in Report

  • Thread starter Thread starter Angela Lesner
  • Start date Start date
A

Angela Lesner

How can I display the database name in a Access 2000
report?

For example, if I want to display a report's datasource
(query or table), I type =[RecordSource] in the
properties, data, control source box. I can't figure out
what I type to display a report's database name.

Angela Lesner
OnStar Sales Services Marketing
248-307-4394
 
Angela Lesner said:
How can I display the database name in a Access 2000
report?

For example, if I want to display a report's datasource
(query or table), I type =[RecordSource] in the
properties, data, control source box. I can't figure out
what I type to display a report's database name.

Angela Lesner
OnStar Sales Services Marketing
248-307-4394


CurrentProject.Name
 
If you don't want the path, try
=Dir(CurrentDb.Name)
--
Duane Hookom
MS Access MVP


Lew said:
If you don't mind the path, you can use "=CurrentDb.Name"
for the Control Source.

-----Original Message-----
How can I display the database name in a Access 2000
report?

For example, if I want to display a report's datasource
(query or table), I type =[RecordSource] in the
properties, data, control source box. I can't figure out
what I type to display a report's database name.

Angela Lesner
OnStar Sales Services Marketing
248-307-4394

.
 
Back
Top