TADoDataset.Recordset.Datasource
From: Neil (firstname_at_ggpsystems.co.uk)
Date: 12/10/03
- Next message: Viatcheslav V. Vassiliev: "Re: Question on cursor location property"
- Previous message: Mónica García Ruiz: "function DaysInMonth (const Dias_Mes: TDateTime):word;"
- Next in thread: Viatcheslav V. Vassiliev: "Re: TADoDataset.Recordset.Datasource"
- Reply: Viatcheslav V. Vassiliev: "Re: TADoDataset.Recordset.Datasource"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Dec 2003 12:32:00 -0000
What interfaces does TADODataset.Recordset.Datasource support?
>From the msdn literature it looks like it should be an IRowset (as defined
in oledb.pas) however
Rowset := ADODataset1.Recordset.DataSource as IRowset;
where Rowset is an IRowset returns an Interface not supported error.
In fact iterating through all the GUIDs in OLEDB:
for i := Low(GuidArr) to High(GuidArr) do
begin
if Supports(AdoDataset1.Recordset.Datasource, GuidArr[i], Quack) then
ShowMessage(GUIDToString(GuidArr[i]));
end;
where Quack is IUnknown
suggests that it doesn't support any of them.
Any ideas where i'm going wrong?
Thanks
- Next message: Viatcheslav V. Vassiliev: "Re: Question on cursor location property"
- Previous message: Mónica García Ruiz: "function DaysInMonth (const Dias_Mes: TDateTime):word;"
- Next in thread: Viatcheslav V. Vassiliev: "Re: TADoDataset.Recordset.Datasource"
- Reply: Viatcheslav V. Vassiliev: "Re: TADoDataset.Recordset.Datasource"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|