1 out of 3 rated this helpful - Rate this topic

QueryString Property

Office 2003

Returns or sets the query string (SQL statement) used to retrieve a subset of the data in a mail merge data source. Read/write String.

expression.QueryString

expression Required. An expression that returns a MailMergeDataSource object.

Example

This example returns the query string for the data source attached to the active document.

qString = ActiveDocument.MailMerge.DataSource.QueryString
		




Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.