Including a 'non field' word in a string Concatenation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 4 field boxes that I want to join, but with a non-Field word (to)
appearing in the middle of the sentence.

Like this:

Main St, E1 To South St, N1

My Fields are:

[Run_From] & [Run_From_Postcode] & "To" & [Run_To] & [Run_To_Postcode]
 
Sorry, but what's your question? The only thing I see wrong with what you
have is that you need a space on either side of "TO" and some commas, i.e.

[Run_From] & ", " & [Run_From_Postcode] & " To " & [Run_To] & ", " &
[Run_To_Postcode]

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
Hello Monster,

my question, albeit badly worded, was why isn't this syntax working, I got
just the first half of the route. But since discovered that I had to close
and re-open the form for it to change to what i wanted. problem solved now.
thanks for the feedback on the spaces and commas.
 

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