Data.DB.TDataSet.CopyFields

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

function CopyFields(Source: TDataSet): Integer;

C++

int __fastcall CopyFields(TDataSet* Source);

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