The only other option I can think of is to leave the control's source
blank and use the format event of the section to set the value for the
control.
In the relevant format event use
Me.txtBoxControl = Currentdb().Properties("AppTitle")
I can't think of any reason this works for me and doesn't work for you.
Can you try the original solution in a different report (or a new
report) and see if it works? If so, then there is something about your
current report that is triggering the error.
'====================================================
John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
'====================================================
It works for me if I use the following as the control source of a text
control. Note the equal sign in front of the expression.
=[CurrentDb].[Properties]("AppTitle")
John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
That doesn't work with me, the report or the form always returns
#Name?
Could anyone help me out please?
Thanks in advance