It seems like this would be simple, but I can't seem to make it work.
I have a student database and I'm trying to creat labels that include only the student's first name and their last initial. It would seem to make sense that I could use the =TRIM expression to remove the extra spaces int eh first name, then use the =LEFT expression to get the student's initial of her last name. I tried:
=TRIM([FirstName]& " " (=LEFT([LastName],1)))
but I get an expression error. Apparently you can't nest the expressions. I tried it without the additional () but Access didn't like that either.
I also tried by making a text box for the firt name only, then the last initial in a separate text box. The right data prints out, but the last initial is not aligned next to the first name. I have CanShrink and CanGrow = Yes, but if the text box isn't the right size, it doesn't work.
Can anyone help? How can I get the two pieces of data to print out like "Barbette B"??
I've onky been using Access for a few months, but I've figured out most everything else I need. This one has stumped me.
Thanks! Barbette
I have a student database and I'm trying to creat labels that include only the student's first name and their last initial. It would seem to make sense that I could use the =TRIM expression to remove the extra spaces int eh first name, then use the =LEFT expression to get the student's initial of her last name. I tried:
=TRIM([FirstName]& " " (=LEFT([LastName],1)))
but I get an expression error. Apparently you can't nest the expressions. I tried it without the additional () but Access didn't like that either.
I also tried by making a text box for the firt name only, then the last initial in a separate text box. The right data prints out, but the last initial is not aligned next to the first name. I have CanShrink and CanGrow = Yes, but if the text box isn't the right size, it doesn't work.
Can anyone help? How can I get the two pieces of data to print out like "Barbette B"??
I've onky been using Access for a few months, but I've figured out most everything else I need. This one has stumped me.
Thanks! Barbette