DBSetQuery(Object, Object, Object) Method

Stores a query into an Object defined in targetRange (an embedded MS Query/List object, Pivot table, etc.)
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public static string DBSetQuery(
	object Query,
	object ConnString,
	object targetRange
	)

Parameters

Query
Type: Object
query for getting data
ConnString
Type: Object
connection string defining DB, user, etc...
targetRange
Type: Object
Range with Object beneath to put the Query/ConnString into

Returns

String
Status Message