Link to home
Start Free TrialLog in
Avatar of Chuck Wood
Chuck WoodFlag for United States of America

asked on

How To Show the Query Name Using a Function

How can I include the query name in its output using a function similar to 1. I already know how to include the database name using the syntax in 2.
-Chuck
' 1
=QueryName()
' 2
=DbName()
' function
Public Function DbName()
    DbName = CurrentProject.Name
End Function

Open in new window

Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

How about if
Avatar of Chuck Wood

ASKER

<How about if> what?
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Excellent! Thank you very much.
It is always a honor to be able to help another Expert.

...and thank you for an interesting and thought provoking question!
;-)

Jeff