Display Database Name in a Form

  • Thread starter Thread starter ap1971
  • Start date Start date
A

ap1971

I want to acutally display the database name within my switchboard. Can
anyone tell me the correct field code? Is it possible? I want it to act
just like the [Name] field only I want to display the database's actual file
name.
 
Application.CurrentProject.Name

To include the path as well
Application.CurrentProject.FullName
 
Thanks, Is there a way to prevent the displaying of the file ext?

RonaldoOneNil said:
Application.CurrentProject.Name

To include the path as well
Application.CurrentProject.FullName

ap1971 said:
I want to acutally display the database name within my switchboard. Can
anyone tell me the correct field code? Is it possible? I want it to act
just like the [Name] field only I want to display the database's actual file
name.
 
Left(Application.CurrentProject.Name,Len(Application.CurrentProject.Name)-4)

ap1971 said:
Thanks, Is there a way to prevent the displaying of the file ext?

RonaldoOneNil said:
Application.CurrentProject.Name

To include the path as well
Application.CurrentProject.FullName

ap1971 said:
I want to acutally display the database name within my switchboard. Can
anyone tell me the correct field code? Is it possible? I want it to act
just like the [Name] field only I want to display the database's actual file
name.
 
Back
Top