Shopping Cart Reference
177
Insert order in [Recordset] and store OrderID in [ASPServer] when
[button] is clicked
This contract inserts a new Order record and allows you to obtain an Autonumber
OrderID from the database when a new order is generated from the on-line store.
The Autonumber OrderID is placed in an ASPServer object (typically a Session
variable). This should be used in conjunction with the InsertCart contracts
that insert each cart item as an order detail record using the OrderID value
obtained here.
Note:
The two contracts are designed to accommodate a typical order database schema in
which order records are stored in a separate table from OrderDetail records. Also note that
the method for retrieving the Autonumber OrderID requires a field in your database for
capturing a timestamp.
Parameters:
OrderIDCol is the name of the column in the recordset participant that stores
the OrderID
TimestampCol is the name of the column in the Recordset participant that
stores the Timestamp
Participants:
Recordset
ASPServer (Session or Application basement SmartElement)
Button (any clickable object)
Summary of Contents for DRUMBEAT 2000 ECOMMERCE EDITION
Page 1: ...Users Guide macromedia DRUMBEAT 2000 eCOMMERCE EDITION ...
Page 6: ...Contents 6 ...
Page 12: ...Introduction 12 ...
Page 90: ...Chapter 2 90 ...
Page 110: ...Chapter 3 110 ...
Page 124: ...Chapter 5 124 ...
Page 142: ...Chapter 7 142 ...
Page 152: ...Chapter 8 152 ...
Page 236: ...Chapter 10 236 ...