Please enable JavaScript to view this site.

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

Project Settings API: getLookupTable()

Scroll Prev Next More

 

Returns the name of the table used by a field's Lookup Wizard.

Syntax

$settings->getLookupTable($field);

Arguments

$field

The field configured as a Lookup Wizard.

Return value

The lookup table name. Returns an empty value if no lookup table is configured for the field.

Example

Display the lookup table used by the CustomerID field.

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

See also:

getLinkField()

getDisplayField()

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