Showing posts with label merge. Show all posts
Showing posts with label merge. Show all posts

Wednesday, March 7, 2012

mail merge reports

Hi friends
am wondering is there a way to mail merge reports created by report builder? has any one tried yet?

we have few clients who use report builder to created reports and they want to mail merge some of the reports. for e.g. sending a letter to all customers with a predefined format.

any ideas on this one much appreciated.
Thanks for your help.test

mail merge problem

Hi there,
maybe you can help me. is there way to
skip lines in the mail sticker? we
are using 20 mail stickers/page paper and
usually the user uses only 4-5 stickers
we want to maximize the use of the unprinted
stickers is there way to skip the already
printed sticker by passing parameter "no. of skips"?
we are connected to an oracle database and uses
pl-sql with cursor ref.
thanks.Maybe you could just put something in the report header to skip the relevant amount of space. Here's two things I can think of:
1) A formula that writes 'n' * 'parameter' empty lines, assuming you can exactly match 'n' lines to a sticker.
2) An 'empty' sticker in a subreport, and force 'parameter' detail records to skip the space by using the command statement
select * from (select level from dual connect by level <= {?parameter})

(Beware, DO NOT run that statement without the <= clause!)|||thanks for your reply.
actually thats what i did below is current program running,
just asking maybe other solution by not doing this like for loop etc.

SELECT
FROM DUAL
where 1 <= p_noskip
union all
SELECT
FROM DUAL
where 2 <= p_noskip
union all
SELECT
FROM DUAL
where <till 19> <= p_noskip|||So replace those 19 unioned select from dual statements with one single statement:

select * from (select level from dual connect by level <= {?parameter})

Remember to create the parameter in the add command screen, not the field explorer/|||ThanksJagan, it works! I just added connect by level.
select '' from dual connect by level <= <parameter>|||Yeah, that'll work too - you don't need the extra select around the outside if you just want 'n' records as you do.
However, the nice thing about the full statement is that you get an ordered, contiguous set of values from 1..n
As level's a reserved word, I suppose it's more correct to actually write

select x from (select level as x from dual connect by level <= {?parameter})

so that you don't have to select * (literally, the * character)
If you write
select level from (select level from dual connect by level <= {?parameter})
then you find that you get 'parameter' records all with value 0

But hey, this is a Crystal forum not an Oracle one...but someone might find this useful...

Mail Merge & SQL

I need to mail merger information in a SQL Server DB to word to make shipping labels for part vendors. I need the abilty to select the vendor by the vendor number and specify how many copies of each to print. I have the DB mail merged to Word but I can not figure out how to do the select parthttp://support.microsoft.com/default.aspx?scid=kb;EN-US;q285176 -KBA way to go.

HTH|||damn skunked again.|||Originally posted by Ruprect
damn skunked again.
The user opens the word doc, types in the vndNum/s they need, clicks a command button, which sends them back the queryed info from the server DB. MailmergeOne is not doing this for me. Any other ideas.

mail merge

Hi all....
Does anyone know if it is possible to do a mail merge in RS? If so, any
references to KB or other articles would be appreciated.
TIA,
Marc MillerHi Marc,
I've been investingating this and I can't see any way to do this in RS.
Seems like a serious omission.
Let us know if you find a way to do this.
Andrew
"mmiller" <marc.miller@.ct-enterprises.com> wrote in message
news:OMUdFKPbFHA.1660@.tk2msftngp13.phx.gbl...
> Hi all....
> Does anyone know if it is possible to do a mail merge in RS? If so, any
> references to KB or other articles would be appreciated.
> TIA,
> Marc Miller
>