Concantenate two fields in a report

S

Steve G

Hi All:

Access2002

I am using this code in the control source to try to concantenate two fields
in a report:

=([FirstName] & " " & [lastName])

However, all this does is produce an error.

Any help would be appreciated, as always

Steve G
 
R

Rick Brandt

Steve G said:
Hi All:

Access2002

I am using this code in the control source to try to concantenate two fields
in a report:

=([FirstName] & " " & [lastName])

However, all this does is produce an error.

Make sure that the name of the Control itself is neither "FirstName" nor "LastName".
When a control's own name appears in its ControlSource expression is causes a
circular reference error.
 
S

Steve G

Yep...thanks, Rick, that was the problem.

Steve G

Rick Brandt said:
Steve G said:
Hi All:

Access2002

I am using this code in the control source to try to concantenate two fields
in a report:

=([FirstName] & " " & [lastName])

However, all this does is produce an error.

Make sure that the name of the Control itself is neither "FirstName" nor "LastName".
When a control's own name appears in its ControlSource expression is causes a
circular reference error.
 

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

Top