LayoutObjectNames

Returns a list of the names of all named objects on layoutName in fileName.

Format 

LayoutObjectNames ( fileName ; layoutName )

Parameters 

fileName - the name of an open database file (local or remote).

layoutName - the name of a layout in the specified database file.

Data type returned 

text

Originated in version 

8.5

Description 

Listed items are separated by carriage returns. Layout objects without object names are not returned. If layoutName isn't specified, then no object names are returned.

Named tab controls, grouped objects, and portal objects that contain other named objects are followed by a list of those named objects enclosed in angle brackets (< >). The angle brackets are shown even if there are no named objects contained within the named tab controls, grouped objects, or portal objects.

Example 1 

LayoutObjectNames ("Customers";"Data Entry") returns a list of named objects in the Customers database file that appear on the Data Entry layout.