Last and first name

  • Thread starter Thread starter daniel
  • Start date Start date
D

daniel

I am trying to show both names in the lastname field like:
ControlSource: =" " & [LastName] & ", " & [FirstName]

what is it that i'm writing wrong ?

thanks
 
That should work, assuming the LastName and FirstName are fields in the
form's RecordSource.

Try renaming this text box. Access gets confused if it has the same name as
a field, but is bound to something else.
 
ahh, I made a new text box and it worked. even though I named the field
txtLastName it
didn't like it. it did with the new one, Text88.
I say, should have thought about that myself.
Thank you, Allen.

Allen Browne said:
That should work, assuming the LastName and FirstName are fields in the
form's RecordSource.

Try renaming this text box. Access gets confused if it has the same name
as a field, but is bound to something else.

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

daniel said:
I am trying to show both names in the lastname field like:
ControlSource: =" " & [LastName] & ", " & [FirstName]

what is it that i'm writing wrong ?

thanks
 
I am trying to show both names in the lastname field like:
ControlSource: =" " & [LastName] & ", " & [FirstName]

what is it that i'm writing wrong ?

thanks

I just did the same thing, I use this.... FullName: [LastName]&",
"&[FirstName]
and it worked fine
 
nad this also worked:
=[cboAccount].column(1) & ", " & [cboAccount].column(2)

thanks for all the help


Delta23 said:
I am trying to show both names in the lastname field like:
ControlSource: =" " & [LastName] & ", " & [FirstName]

what is it that i'm writing wrong ?

thanks

I just did the same thing, I use this.... FullName: [LastName]&",
"&[FirstName]
and it worked fine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top