[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'db' (#fcl)

Tfields.CheckFieldNames

Check a list of field names for duplicate entries

Declaration

Source position: db.pas line 1032

public procedure Tfields.CheckFieldNames(

  const Value: String

);

Arguments

Value

  

List of field names to check

Description

CheckFieldNames splits Value in a list of fieldnames, using semicolon as a separator. For each of the fieldnames obtained in this way, it calls CheckFieldName.

Errors

Spaces are not discarded, so leaving a space after of before a fieldname will not find the fieldname, and will yield a false negative result.

See also

TField.FieldName

  

Name of the field

TFields.CheckFieldName

  

Check field name for duplicate entries

TFields.Find

The latest version of this document can be found at lazarus-ccr.sourceforge.net.