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.

var settings = new ProjectSettings("Orders");
MVCFunctions.Echo(settings.getLookupTable("CustomerID"));

See also:

getLinkField()

getDisplayField()