K
Kimberly3626
I'm trying to pretty up my report by eliminating the forced space created by
having one field of the report for 'LastName', one for 'FirstName', and one
for 'Rank.' The Rank isn't too huge of an issue, and if three items in one
field gets to be too much, I have no problem leaving that as a side item of
sorts. But, I want my report to look a bit better by putting the names
together!
I want the report to go to my table, pull the LastName from that column, and
pair it with the matching FirstName in the column to the right. (Since it's
just looking up the personnel data, and I only have 22 personnel assigned, I
blew off a query for this particular report...it's a nice easy one)
So I found (by the magical search box) this line of code right here in the
MS forums:
=[FirstName] & " " & [LastName]
I tried it. Didn't work. And yes, the spelling is identical, and I even
paid attention to the capitol letters, just in case.
Then I tried to go in and build the string by clicking the ... button.
=[FirstName] & [LastName] (I just want it to work, I'll worry about the
space when I get the basics down)
Didn't work!
But...I'll admit that I didn't delete the original fields, just in case I
couldn't make it work right. Could this be the problem? It saw my little
line of code, along with the fields for FirstName and LastName and got mad at
me?
Please help...I found the code that works for everyone...but me! What did I
do wrong?!?!?!
PS: Access 2007
having one field of the report for 'LastName', one for 'FirstName', and one
for 'Rank.' The Rank isn't too huge of an issue, and if three items in one
field gets to be too much, I have no problem leaving that as a side item of
sorts. But, I want my report to look a bit better by putting the names
together!
I want the report to go to my table, pull the LastName from that column, and
pair it with the matching FirstName in the column to the right. (Since it's
just looking up the personnel data, and I only have 22 personnel assigned, I
blew off a query for this particular report...it's a nice easy one)
So I found (by the magical search box) this line of code right here in the
MS forums:
=[FirstName] & " " & [LastName]
I tried it. Didn't work. And yes, the spelling is identical, and I even
paid attention to the capitol letters, just in case.
Then I tried to go in and build the string by clicking the ... button.
=[FirstName] & [LastName] (I just want it to work, I'll worry about the
space when I get the basics down)
Didn't work!
But...I'll admit that I didn't delete the original fields, just in case I
couldn't make it work right. Could this be the problem? It saw my little
line of code, along with the fields for FirstName and LastName and got mad at
me?
Please help...I found the code that works for everyone...but me! What did I
do wrong?!?!?!
PS: Access 2007