FUBARinSFO <(E-Mail Removed)> wrote in
news:08509f32-689f-46b1-83c5-(E-Mail Removed)
m:
> Evidently not.
>
> Using your expresson ' =[CurrentProject].[FullName]' in the Data/
> Control Source box of the text box properties sheet throws error
>
> "Syntax error in query expression 'First([=[CurrentProject]].
> [FullName])'.
>
> Stripping the brackets and using '=CurrentProject.FullName', it
> throws an Enter Parameter Value input box with the full string
> 'CurrentProject.FullName', so it doesn't recognize either of these
> vars.
What about qualifying it properly:
Application.CurrentDB.Name
Appication.CurrentProject.FullName
If that doesn't work, I guess you'll have to write a UDF wrapper
around one or the other of them.
Bummer. There's been a slow decay in the scope of the expression
service starting with A2000, and this looks like yet another example
if the fully-specified versions don't work.
--
David W. Fenton
http://www.dfenton.com/
contact via website only
http://www.dfenton.com/DFA/