Letters Using Reports

donifar

New member
Local time
Yesterday, 19:47
Joined
Jun 29, 2005
Messages
8
Hello All-

I am creating a report that is a form letter. The letter states something like:

Hello, [Name]. you will be put in touch with [name2], whose number is [number]. more text continues.

Is there a way to do this without having to create separate text boxes or having a query that returns the text of the paragraph?

Thanks for any help!
 
Set your control source to:

="You will be put in touch with " & [name2] & ", whose number is " & [number] & ". more text continues."
 
i have paragraphs in there tho, and want to use just once text box. how do i denote hard returns?

Thanks!
 
I would use a separate text box for each paragraph, setting the Can Shrink/Grow properties to yes.
 
Thanks! I will give this a try.

One last q: is there a way to change the formatting of part of the text of a text box, or do i need sep. boxes?

Thanks so much.
 
donifar said:
Thanks! I will give this a try.

One last q: is there a way to change the formatting of part of the text of a text box, or do i need sep. boxes?

Thanks so much.

Not with a regular text box. You would have to get a Rich Text control from a third party vendor.
 
one last question. i have a phone number as part of the text box, but the field itself isnt formated in the original table, so its showing up as just 10 numbers. is there a way to format it IN the text box, the same way you can trim() a field?
 
use the Format function:

& FORMAT([fieldname],"(###) ###-####")

or something like that
 
ScottGem said:
use the Format function:

& FORMAT([fieldname],"(###) ###-####")

or something like that

when i do that, it automatically changes it to "(#) #-#", and it comes out alllll wrong. are those singe double-quotes, or double single-quotes?
 
its also wierd, because when i just drop the field itself in, it seems to be formatted fine, just not when i use it in conjunction with text.
 
Double quotes. Check out the Format function to check the syntax.
 
i did. in fact i googled it and other website had the same solution, however it doesnt work for me.
 
Try Format(field,"000-000-0000"). That worked for me.
 

Users who are viewing this thread

Back
Top Bottom