Data.DB.TDataSet.CopyFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CopyFields(Source: TDataSet): Integer;

C++

int __fastcall CopyFields(TDataSet* Source);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

CopyFields copies the field definition structure of another dataset.


CopyFields copies the matching fields in the current records and returns the number of fields copied.

For more information, see http://qc.embarcadero.com/wc/qcmain.aspx?d=7768.

For another example, see http://community.devexpress.com/forums/p/47463/160009.aspx.

See Also