Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Project Settings API > Methods

Project Settings API: getLinkField()

Scroll Prev Next More

 

Returns the Lookup Wizard field whose value is saved in the current table.

Syntax

$settings->getLinkField($field);

Arguments

$field

The field configured as a Lookup Wizard.

Return value

The name of the link field from the lookup table. Returns an empty value if no link field is configured.

Example

Display the link field used by the CustomerID Lookup Wizard.

$settings = new ProjectSettings("Orders");
echo $settings->getLinkField("CustomerID");

See also:

getLookupTable()

getDisplayField()

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software