WindowCreateLookupDialog()

Previous Next

Opens a lookup dialog for the current field. When you specify this method, a lookup button appears.

To open a specific lookup window, you can also use the Create() method.

Syntax

WindowCreateLookupDialog([<name>])

Parameters

name

The name of the lookup dialog you want to open. If no name is specified, WindowCreateLookupDialog() opens a default lookup dialog based on the value of the Related Column property.

If the Related Column property is set to TOUR.DESTINATION for example, a default Lookup: TOUR lookup dialog is opened.

Object

Inserted control with a Related Column property.