Leopardfist
Access Newb
- Local time
- Today, 14:22
- Joined
- Feb 14, 2006
- Messages
- 87
OK, I have 3 fields in my table: First Name (FNAME), Middle Name (MNAME), and Last Name (LNAME). The table is named EMPLOYEES and I need to make an expression that will give me an employees full name (LNAME, FNAME MNAME) in that structure.
Now I created a new Query which included the three names, but I cannot figure out how to do the expression for the full name, it keeps giving me errors.
I tried using the builder and doing basically:
That gave me an error saying it contained incorrect expressions or something. I also substituted + for &, and "AND" for &, and still got those errors.
I only have one report where the name format needs to be like this, and thought I could use a simple query to collect the data and format the name. If anyone can help me it would be greatly appreciated.
Thank You!
Now I created a new Query which included the three names, but I cannot figure out how to do the expression for the full name, it keeps giving me errors.
I tried using the builder and doing basically:
Code:
[LNAME] & ", " & [FNAME] & " " & [MNAME]
That gave me an error saying it contained incorrect expressions or something. I also substituted + for &, and "AND" for &, and still got those errors.
I only have one report where the name format needs to be like this, and thought I could use a simple query to collect the data and format the name. If anyone can help me it would be greatly appreciated.
Thank You!