Figure 4. Consume a Web Service and Calculate Expression Box Values.
The NWOrdersWSProject.sln solution uses managed code to implement the Insert Order feature and return the new OrderID value to the form, test RequiredDate values for reasonableness, and calculate a running sum for the table footer's Extended Amount expression box. Change a ProductID value in the table's dropdown lists to insert the UnitPrice value from a third field of the lists' secondary data source.