This document is archived and information here might be outdated. Recommended version. |
Sets the source QueryDef for a Recordset.
[Visual Basic .NET] Public Sub SetSourceQueryDef ( _ ByVal QueryDef As IQueryDef _ )
[C#] public void SetSourceQueryDef ( IQueryDef QueryDef );
[C++]
HRESULT SetSourceQueryDef(
IQueryDef* QueryDef
);
[C++] Parameters QueryDef [in]
QueryDef is a parameter of type IQueryDef*
When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.