|iField (Optional)||Table column prompt object is invoked for|
Property Handle Field_WebPrompt_Object
|Read Access:||Get Field_WebPrompt_Object iField to HandleVariable|
|Write Access:||Set Field_WebPrompt_Object iField to HandleVariable/Value|
Field_WebPrompt_Object get/sets the object Id of the web-based Prompt_Object for a table column, such as a lookup (selection) list (cWebPromptList). The Prompt_Object is the object that pops up when the Prompt message is sent.
Set Field_WebPrompt_Object Field Customer.Customer_Number to oCustomerWebLookup
Lookup lists are created to provide an easy way to lookup records in your application. Typically, each table will have at least one lookup list associated with it. Columns in this lookup list will often consist of the most important columns in your table. These columns are often indexed and lookup lists are designed to let you easily search for records in any of these index orders.
You assign columns in a Data Dictionary to a lookup just be setting the Field_WebPrompt_Object property. Once assigned, your web applications will automatically attach those lookup lists to data entry objects (DEOs) that use that column.
You will want to create your lookup list objects before you assign them to a Field_WebPrompt_Object. You must know the name of the lookup list object before you assign it. Wizards are provided that allow you to create your lookup lists and assign them to the appropriate Data Dictionary columns in a single step.
Many of the DataDictionary methods contain a two variants of the same message: Field_Message and File_Field_Message. For a complete description of these messages please refer to The Field and File_Field DD Interfaces.
The Field_ version of a message must use the keyword FIELD to identify the Table.Column name. The File_Field_ version must use the keyword FILE_FIELD to identify the Table.Column name. These should never be mixed!
// When using Field_ message use the FIELD keyword Get Field_WebPrompt_Object Field Customer.Name to iPromptObject // When using the File_Field_ message use the FILE_FIELD keyword Get File_Field_WebPrompt_Object of oCustomer_DD File_Field Customer.Name to iPromptObject