Modifying the OrderForm Object
When you pass an OrderForm object to the Order Processing pipeline (OPP), the OrderForm object must already be initialized with certain data elements.
You can modify an OrderForm object in any of the following ways:
By direct assignment. To initialize the
shopper_id
key on a page, you can make a direct assignment:objOrderForm.shopper_id = objPage.GetShopperID()
By using the native methods of the OrderForm object. The OrderForm object implements the AddItem, ClearItems, and Clear methods, which are designed to add items to the
items
SimpleList object, clear items from theitems
SimpleList object, and clear the entire OrderForm object, respectively.By using the DBStorage object. The DBStorage object is designed to load a row of data from a database table into an OrderForm or Dictionary object. For more information, see DBStorage Object.
Copyright © 2005 Microsoft Corporation.
All rights reserved.