Skip to content

File_Field_Prompt_Object - DataDictionary

Gets/sets the ID of the Prompt_Object for a column, such as a lookup (selection) list

Type: Property
Access: Read-Only
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iFile Integer Number of table in the filelist
iField Integer Number of the column in the table

Syntax

Property Integer File_Field_Prompt_Object
Access Type Syntax
Read Access: Get File_Field_Prompt_Object to IntegerVariable

Description

The File_Field_Prompt_Object property is used to get the ID of the Prompt_Object for a column, such as a lookup (selection) list.

This property isn't typically set outside of the DD object itself. If for some reason you do want to set it, just use Set Field_Prompt_Object and send it directly to the DD.

Sample

Handle hoPromptObject
Get File_Field_Prompt_Object FILE_FIELD Customer.Customer_Number To hoPromptObject

File and File_Field Interfaces

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 values. These should never be mixed!

handle hoPromptObject
// When using Field_ message use the FIELD keyword
Get Field_Prompt_Object FIELD Customer.Name to hoPromptObject

// When using the File_Field_ message use the FILE_FIELD keyword
handle hoPromptObject
Get File_Field_Prompt_Object of oCustomer_DD FILE_FIELD Customer.Name to hoPromptObject

See Also

Field_Prompt_Object | File_Field_Zoom_Object