Bind a text box to a different field / expression Access 2007

F

Frances

In the ECDL advanced database course we often are asked to concatenate First
Name and Last Name fields in a report to a Full Name field.

Rather than add a new control to the report I had the idea of changing the
control source of the Last Name field by entering the expression =([First
Name]&" "&[Last Name]).
However I get errors:
Invalid Control Property: Control Source and
Circular Reference
Please can anyone tell me why I get this. Putting in an expression should
work according to
http://office.microsoft.com/en-us/access/HA100141171033.aspx?
 
A

Allen Browne

Change the Name property of the text box.

Access gets confused if the control has the same name as a field in the
report's source query, and yet it is bound to something else.
 
F

Frances

Thank you Allen, I have just checked that your suggestion works!

Allen Browne said:
Change the Name property of the text box.

Access gets confused if the control has the same name as a field in the
report's source query, and yet it is bound to something else.

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

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

Frances said:
In the ECDL advanced database course we often are asked to concatenate
First
Name and Last Name fields in a report to a Full Name field.

Rather than add a new control to the report I had the idea of changing the
control source of the Last Name field by entering the expression =([First
Name]&" "&[Last Name]).
However I get errors:
Invalid Control Property: Control Source and
Circular Reference
Please can anyone tell me why I get this. Putting in an expression should
work according to
http://office.microsoft.com/en-us/access/HA100141171033.aspx?
 

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