Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Using Word is that the best way for letters / mailshots

I have just been asked to allow the user to be able to add and modify letters
that go out.
As there were all originally in VPF reports, I and going to move to Word,
so I have just got the Automation with Office book, and am working my way
through. But before I jump in is this the best way to go i.e. using word
?

My other concern is that when I print off the reports using VFP , I update
the flags in the table to say the letter has been printed, (AfterReportSuccessful)
, if I now use word how would I control this , if the user does not press
print , how can I determine if they have been printed ?

Thanks

Paul
[673 byte] By [Paul Summerfield] at [2007-11-10 12:49:59]
# 1 Re: Using Word is that the best way for letters / mailshots
On 4 Jul 2003 04:52:48 -0700, "Paul Summerfield"
<foxy@quantumistic.co.uk> wrote:

>
>I have just been asked to allow the user to be able to add and modify letters
>that go out.
>As there were all originally in VPF reports, I and going to move to Word,
>so I have just got the Automation with Office book, and am working my way
>through. But before I jump in is this the best way to go i.e. using word
>?

Seems reasonable to me.

>My other concern is that when I print off the reports using VFP , I update
>the flags in the table to say the letter has been printed, (AfterReportSuccessful)
>, if I now use word how would I control this , if the user does not press
>print , how can I determine if they have been printed ?
>

That depends on how you set things up. If printing is under the user's
control, you'll probably need to set up some code to respond to Word's
DocumentBeforePrint event. I wrote an article about ways to do this
kind of thing that appeared in the October '02 FoxPro Advisor.

Tamar
Tamar E. Granor at 2007-11-11 23:50:42 >
# 2 Re: Using Word is that the best way for letters / mailshots
Welcome back! How was vacation?

> DocumentBeforePrint event. I wrote an article about ways to do this
> kind of thing that appeared in the October '02 FoxPro Advisor.

I was just about to write to you asking which issue that was in. <g>

Dan
Dan Freeman at 2007-11-11 23:51:50 >
# 3 Re: Using Word is that the best way for letters / mailshots
On Mon, 7 Jul 2003 09:00:42 -0700, "Dan Freeman" <dan@dfapam.com>
wrote:

>Welcome back! How was vacation?

Good. We flew into San Francisco, spent a couple of days there, then a
couple in Monterey (which included seeing some relatives), then drove
down the coast to LA and spent a few days there. We toured UCLA and
USC with Nathaniel, who didn't fall madly in love with either, as well
as doing the usual tourist stuff.

Not a real restful vacation, but lots of good memories. Came home late
Friday, and dropped Nathaniel off for a two-week music program on
Sunday.

Tamar
Tamar E. Granor at 2007-11-11 23:52:49 >
# 4 Re: Using Word is that the best way for letters / mailshots
>then drove
> down the coast to LA and spent a few days there.

You were in my neighborhood and didn't call? Waaaaaahhhh!!!! <g>

Dan
Dan Freeman at 2007-11-11 23:53:49 >