Help!

join contents of text boxes

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Reports RSS
Next:  Counting check boxes  
Author Message
alecgreen
External


Since: Aug 08, 2007
Posts: 1



PostPosted: Wed Aug 08, 2007 2:24 am    Post subject: join contents of text boxes
Archived from groups: microsoft>public>access>reports (more info?)

Hi

I have three text boxes on my report, which I would like to 'join'
together, for example...

text box 1 = "abc",
text box 2 = "def",
text box 3 ="ghi"

The result I am after is "abc def ghi" - I have tried =[text box 1] &
" " & [text box 2], which does work but when I try =[text box 1] & " "
& [text box 2] & " " & [text box 3] it fails to show anything!

Any ideas please

Alec
Back to top
Allen Browne
External


Since: Nov 08, 2003
Posts: 7201



PostPosted: Wed Aug 08, 2007 7:55 pm    Post subject: Re: join contents of text boxes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Provided you have the 3 text boxes on your report, and you have their names
correct, your expression should work.

If it doesn't there may be something wrong with the database. Uncheck the
boxes under:
Tools | Options | General | Name AutoCorrect
In Access 2007, it's:
Office Button | Access Options | Current Database | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html

Then compact the database:
Tools | Database Utilities | Compact/Repair
or in Access 2007:
Office Button | Manage | Compact/Repair

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"alecgreen" <alecgreen DeleteThis @hotmail.co.uk> wrote in message
news:1186565067.640959.137530@d55g2000hsg.googlegroups.com...
> Hi
>
> I have three text boxes on my report, which I would like to 'join'
> together, for example...
>
> text box 1 = "abc",
> text box 2 = "def",
> text box 3 ="ghi"
>
> The result I am after is "abc def ghi" - I have tried =[text box 1] &
> " " & [text box 2], which does work but when I try =[text box 1] & " "
> & [text box 2] & " " & [text box 3] it fails to show anything!
>
> Any ideas please
>
> Alec
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Reports All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum