A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

join contents of text boxes



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2007, 10:24 AM posted to microsoft.public.access.reports
alecgreen
external usenet poster
 
Posts: 45
Default join contents of text boxes

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

  #2  
Old August 8th, 2007, 12:55 PM posted to microsoft.public.access.reports
Allen Browne
external usenet poster
 
Posts: 11,706
Default join contents of text boxes

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" wrote in message
oups.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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.