Creating Data Structures
Access the appropriate project in OMW.
Add a data structure to the same project in which you added the data item smart field component.
On the Add Object form, create a new regular data structure, name it according to the recommended naming conventions, and click OK.
On the Data Structure Design form, select the Design Tools tab and click Data Structure Design.
On the Data Structure form, under Dictionary Items, enter the alias of the data item prompt on the QBE line.
Double-click the data item prompt to include it in Structure Members.
Double-click in the Required field of the detail area to define the data item prompt as Required.
This field displays a check mark for the prompt data item.
Under Dictionary Items, search for all of the required data items using the QBE line.
Double-click the required data items individually to include them in Structure Members.
Under Dictionary Items, search for a data item to serve as a return value using the QBE line.
Use a data item that is formatted the same as you want the smart field to be formatted.
Double-click the return value data item to include it in Structure Members.
You can rename the return value data item in the Structure Member Name field.
In the Input/Output field for each data item, set up the arrows to reflect the flow of the data and click OK.
All arrows for prompts and data items should point to the right because these fields fetch data from the database. The arrow for the return value should point to the left because the data is returned to this field in the report section.