IDAClonedCursorsSupport

Overview

The IDAClonedCursorsSupport interface is used for sharing data belonging to another datatable.

Note: IDAClonedCursorsSupport isn't supported by TDAADODataTable!

The following example demonstrates how to use this interface:

var
  ccs:IDAClonedCursorsSupport;
begin
  //.........................
  MemDataTable.LogicalName := 'EMPLOYEE';
  MemDataTable.Open;
  ccs := MemClonedDataTable as IDAClonedCursorsSupport;
  ccs.CloneCursor(MemDataTable);
  //.........................
  if (ccs.UsingClonedCursor) then
  begin
    //..........................
  end;
  //..........................

Location


Properties


CloneSource

Returns an external dataset that allows to share its data.

property CloneSource: TDADataTable read

UsingClonedCursor

Determines whether an external dataset exists.

property UsingClonedCursor: Boolean read

Required Methods


CloneCursor  safecall

Shares data of Source data table.

procedure CloneCursor(Source: TDADataTable)

Parameters:

  • Source: data table that is Source for cloning