Mergin "free text" and "field value" in a text field?

M

Mikael Lindqvist

Hi,

I wonder if it's possible to include some text in a text field.

For example:

Name: Bart Simpson

(Where Bart Simpson is the text field value)

I would like to change this so it looks like:

Name: / Bart Simpson

Is it doable?

Kindly,
Mikael
Sweden
 
A

Allen Browne

If the field name is ClientName, you can do this on a report by setting the
ControlSource of the text box to:
="Name:/ " & [ClientName]

There are a couple of traps though:

a) The Name property of the text box cannot be the same as a field name.

b) Don't use a field called name. Access will get confused and think that
Name means the name of the report rather than the contents of the field.

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

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

message
news:[email protected]...
 

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