Application Development
Dynamic Views for Multiple Control Fields
Refer to Control Views for general information.
The Orders table contains the following fields:
- OrderID – ID for record
- Submitted – Date of order
- Type – Options are Online or InStore
- StoreID – ID for the store where the order was placed
- ShipAddress – address for shipping online orders
The four views would be:
webOrdersHor horizontal view |
webOrders#Type#Ver registered vertical view |
webOrders#Online#Ver substituted view |
webOrders#InStore#Ver substituted view |
ID |
ID |
ID |
ID |
Submitted |
Submitted |
Submitted |
Submitted |
Type |
Type |
|
|
|
StoreID |
|
StoreID |
|
ShipAddress |
ShipAddress |
|
When the user selects the Type of Online on the Horizontal View List box, and then navigates to the Vertical View, the Stewardship Tier looks at the view webOrders#Type#Ver and replaces the Type between the two # marks with the value from the table. The Stewardship Tier then locates webOrders#Online#Ver and uses that to determine the fields to display, allowing the user to enter the ShipAddress for the Order.