Multiple Fields in one text box

Hollis

Registered User.
Local time
Today, 21:56
Joined
Nov 20, 2008
Messages
13
Hello everyone,

I'm making a list of people attending a program and I have their last and family name in diffrent fields (FirstName, FamilyName).

Is there any way to have these two fields in the same text box so that the list looks like this:

Aaron Hills
Bob Brown
Gorden Hollis

rather than

Aaron Hills
Bob Brown
Gorden Hollis

Thanks.
 
Try a textbox with a control source of:

=FirstName & " " & FamilyName
 
Thanks for that, it looks like it should work but it's coming up with an #Error where that text box is, I'm using Access 2000, would that change anything?
 
Last edited:
I got this working:

="FirstName" & " " & [FamilyName]

while this produces a #Error

=[FirstName] & " " & [FamilyName]
 
Should work in any version. Make sure you don't have a control with either of those names, which can confuse Access. Given your follow-up, my guess is that there's a control named FirstName.
 
You are spot on there pbaldy, I did have a contol named FirstName, after I changed that it worked a treat.

Thanks greatly for your help :D
 

Users who are viewing this thread

Back
Top Bottom