P
Peter Wilde
I'm trying to restrict the data returned from preset
Microsoft SQL Query by using the
ActiveDocument.MailMerge.DataSource.QueryString
statement. The data source is obtained from a Delphi App
using DBISAM files. The ODBC works fine and I can read
the fields in Microsoft SQL Query but I want to create a
word Mailmerge document with a Userform containing two
date fields which are then included in the SQL statement
used at mail merge time. When I issue the statement
ActiveDocument.MailMerge.DataSource.QueryString, it
simply reads the SQL statement rather than sending the
statement to Microsoft Query.
Any suggestions?
Peter Wilde.
Microsoft SQL Query by using the
ActiveDocument.MailMerge.DataSource.QueryString
statement. The data source is obtained from a Delphi App
using DBISAM files. The ODBC works fine and I can read
the fields in Microsoft SQL Query but I want to create a
word Mailmerge document with a Userform containing two
date fields which are then included in the SQL statement
used at mail merge time. When I issue the statement
ActiveDocument.MailMerge.DataSource.QueryString, it
simply reads the SQL statement rather than sending the
statement to Microsoft Query.
Any suggestions?
Peter Wilde.