Re: how to assign a recordset of ado to a variant?
- From: "Viatcheslav V. Vassiliev" <support@xxxxxxxxxxxxxxx>
- Date: Wed, 28 Sep 2005 10:20:42 +0400
var
v: OleVariant;
begin
...
v := ADODataSet1.Recordset;
end;
or
v := ADODataSet1.Recordset as IDispatch;
But you can not pass recordset between processes.
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"zhangsn" <zhangsn98@xxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:4339f0d3@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi
> I want to pass a 'variant' to other program on another machine.
> And the 'variant' should contain all data in the recordset of ado.
> I see the sourcecode of delphi6. But I did not understand, and i
> could not use clientdataset and provider in this .
> anyone have the sample change the recordset to a variant and on the
> another
> program change the variant to the dataset.
> rgds
>
>
.
- Follow-Ups:
- Re: how to assign a recordset of ado to a variant?
- From: zhangsn
- Re: how to assign a recordset of ado to a variant?
- References:
- how to assign a recordset of ado to a variant?
- From: zhangsn
- how to assign a recordset of ado to a variant?
- Prev by Date: how to assign a recordset of ado to a variant?
- Next by Date: Re: how to assign a recordset of ado to a variant?
- Previous by thread: how to assign a recordset of ado to a variant?
- Next by thread: Re: how to assign a recordset of ado to a variant?
- Index(es):
Relevant Pages
|