I expect the name of your text box is the name of a field. This would
cause
an error.
This solution won't work anyway based on your requirements. A text box
will
not shrink horizontally, only vertically.
--
Duane Hookom
Microsoft Access MVP
:
Well, I was certainly hoping that this approach would work, being the
simplest, but when I put the function on I get #Error instead of the
last
name in all rows. The following was cut from the control source and
pasted
here. I created it by choosing the function and then choosing the
field.
In other words, no typos. What am I doing wrong?
=Trim([Last_Name])
What about =Trim([LastName]) This will remove any leading or ending
spaces.
Laurel wrote:
My problem there is that the last name has to be bolded, and the
first
names not. I don't know how to bold just part of a calculation.
Laurel,
Have you tried concatenation?
= [LastName] & ", " & [FirstName]
--
hth
Al Campagna
Microsoft Access MVP
http://home.comcast.net/~cccsolutions/index.html
"Find a job that you love... and you'll never work a day in your
life."
I have three text boxes in the first line of a directory. Their
contents are:
!Last_Name =", " =fncFirstNames()
How can I get rid of the white space between !Last_Name and the
comma?
All three text boxes have both "Can Shrink" and "Can Grow" set to
"Yes," but that doesn't seem to do the trick.
TIA
LAS