See Forms Designer Properties for information on changing field controls and properties.
| Action | Property Setting |
|---|---|
|
Turn a Text Box to a Lookup Field |
Set the following property values:
ZoomTo = ExternalDataDisplay.aspx?Source=SourceName ReadOnly = True |
|
Associate a drop down Field to a List Option |
Set the following property values:
DataLookup Type= External Data Source DataObject = SourceName DataTextField = “Column Name To Determine Value to Display” DataValueField = “Column Name To Determine Value to Store” |
|
Change a Text Box Lookup Source |
Set the following property values:
ZoomTo = string.format(“ExternalDataDisplay.aspx?Source={0}”,{[field Name]} |
|
Turn a Text Box into a Dependent Lookup |
Set the following property values:
FilterColumn = “Column name to filter in select statement” FilterDataType = “System.String” FilterOp = “EQ”, “GT”, “LT” or “NEQ” for (Equal, Greater Than, Less Than, Not Equal) FilterWithControl = ”field in the form that contains value to pass for filtering” ReadOnly = ”True” ZoomTo = ”ExternalDataDisplay.aspx?source=source” |
|
Turn a drop down List into a Dependent List |
Set the following property values: DataLookUp Type = Other
DataSource = “EQM.UI.Web.ExternalDataProvider.ODBC.GetListValues(“SourceName”,CurrentUser, new string(){[FieldName]})”
NOTE: Make sure the SQL Query Statement in the external data display accepts the parameters as shown below:
|
|
Convert a Text Field to a Zoom Field |
Follow the steps below to convert a text field to a zoom field.
|
|
Convert a Text Field to a Multiple Value Zoom Field |
Multiple values are defined in Column to Return in External Data Sources and configure it to access an External Data Source.
This is an example of how to configure the Product Exception record to allow the PO Number field to zoom to an external data source, and also when selecting a PO number, a return PO Number, a Lot Number and a Unit Cost.
EXAMPLE: PXP_PO_NUMBER; EPL_LOT_NUMBER;PXP_UNIT_COST
The PO number will be saved in the PO Number field. The lot number will be saved in the Lot Number field. The part cost will be saved in the Unit Cost field.
|
|
Add External Data to a drop down Field |
Follow the steps below to add external data to a drop down field.
NOTE: If the SQL Query Statement contains an alias column name, you must enter the alias name. |
|
Add External Data to a Filtered drop down List |
The procedure below is an example of further defining the use for External Data, for example; Filtering the Employee List by Department.
EXAMPLE: Select EH_NUMBER "Employee Number", EH_FIRST_NAME "First Name" from EH_EMPLOYEE where EH_DEPARTMENT_NO=?
EXAMPLE: iif(not Page.IsPostBack,EQM.UI.Web.ExternalDataProvider.ODBC.GetListValues("SourceName",CurrentUser,New String() {"QC"}), nothing)
NOTE: If the SQL Query Statement contains an alias column name, you must enter the alias name.
NOTE: If the SQL Query Statement contains an alias column name, you must enter the alias name. |
See Also
Deleting External Data Sources
Exporting External Data Sources
|
|