Question : Syntax language for Access Labels?

Hi there.

This is a very easy question - but I am struggling!!!

I'm creating a report in access 2007, and I want a text showing feild names. Eg. Mr Jon Doe...  Mr = title field, jon = 1st name field, and Doe = surname field.

I am able to get one field showing by a  using a text box with the following
="TPS Introduction Call for:   " & [title]
which shows the title - great!

But when I try the following
="TPS Introduction Call for:   " & [title] " " & [Surname]

I get a syntax error....

What am I doing wrong!?

Answer : Syntax language for Access Labels?

You need another ampersand:

="TPS Introduction Call for:   " & [title] & " " & [Surname]

You must "offset" all your variables with amepersands
Random Solutions  
 
programming4us programming4us