Sign in Join
FPDoc Onlineexperiment

TSQLConnection.GetFieldNames procedure

Member of TSQLConnectionpublicIn unit SQLDB

Gets a list of the field names in the specified table.

Declaration

pascal
procedure GetFieldNames(const TableName: string; List: TStrings)
 ; virtual

Arguments

TableName

Name of the table for to retrieve the field names.

List

Stringlist in which to return the field names.

Description

GetFieldNames will return the names of the fields in TableName in list

List is cleared before adding the names.

Errors

If a non-existing tablename is passed, no error will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.