Re: How do I work with Recordset in ExecuteComplete event?



I see.

Thank you.

Regards,

Andy
Vitali Kalinin wrote:
"Andy Stephenson" <info2004@xxxxxxxxxxxxx> ???????/???????? ? ???????? ?????????: news:48295ad8$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I want to use Recordset external to the ExecuteComplete event.

I created my own recordset and assigned in the event as MyRecortdset := Recordset.

It seems to be OK, but it could just be luck. However, it does not have methods like FieldByName, and I can't seem to determine field types etc. It just seems to limited.
TADODataSet has read/write property RecordSet, so you can create TADODataSet assign its recordset and use TDataSet methods.
So I thought that I would use a table and clone the recordset, but i can't do that either.

Probably my limitations are getting in the way here, so if anyone knows of some good reference material on this subject, please let me know.

MSDN.

Regards,

Andy


.



Relevant Pages

  • Re: How do I work with Recordset in ExecuteComplete event?
    ... I want to use Recordset external to the ExecuteComplete event. ... I created my own recordset and assigned in the event as MyRecortdset:= ... TADODataSet assign its recordset and use TDataSet methods. ...
    (borland.public.delphi.database.ado)
  • How do I work with Recordset in ExecuteComplete event?
    ... I want to use Recordset external to the ExecuteComplete event. ... I created my own recordset and assigned in the event as MyRecortdset:= Recordset. ... Probably my limitations are getting in the way here, so if anyone knows of some good reference material on this subject, please let me know. ...
    (borland.public.delphi.database.ado)
  • Re: RETURN_VALUES ??? done... What have I gained?
    ... that where closer to ADO native properties. ... You use TadoDataset when a recordset is returned and TadoCommand ...
    (borland.public.delphi.database.ado)
  • Re: OLE error 80040200 when assigning events of a TCustomADODatasetpointingto a multi-select stored
    ... all properties should be set on initial recordset before Open. ... recordsets will inherit properties. ... There should be no memory leaks because TADODataSet is not reference ...
    (borland.public.delphi.database.ado)
  • Re: ADOCommand.Execute
    ... ADOCommand object does not return a Recordset ... TadoTable and TadoDataset are both TCustomAdoDataset descendants ... Brian Bushay ...
    (borland.public.delphi.database.ado)