MailMerge DataSource problem
From: Marty (anonymous_at_discussions.microsoft.com)
Date: 08/05/04
- Next message: CR: ""add more items" box"
- Previous message: Nicole: "Word XP doesn't merge all data"
- Next in thread: Cindy M -WordMVP-: "Re: MailMerge DataSource problem"
- Reply: Cindy M -WordMVP-: "Re: MailMerge DataSource problem"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Aug 2004 06:03:33 -0700
Hi-
I'm running Word97. I have a DOT template which runs a
macro. In the macro, I have an ADO connection to get my
data. I also have WordBasic.MailMergeOpenDataSource
statement which keeps bombing out with error 1535, saying
that there were no records to be returned. This is
because the stored procedure is probably not returning
anything. (I want to eliminate the stored procedure, not
fix it.)
But I already have all the info that I need from the ADO
connection. And, I get this into the document using
ActiveDocument.Variables.Add commands.
How do I execute the Mail Merge without the stored
procedure?
Thanks for all the help.
- Next message: CR: ""add more items" box"
- Previous message: Nicole: "Word XP doesn't merge all data"
- Next in thread: Cindy M -WordMVP-: "Re: MailMerge DataSource problem"
- Reply: Cindy M -WordMVP-: "Re: MailMerge DataSource problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|