Okay -- got this working.
Now have another problem. The Store Summary behavior works great -- I can come back and enter another order and the Summary data is stored in a new order. However the Store Details behavior hangs up when it tries to add the record i get the error "Duplicate entry '1' for key 'PRIMARY'" I presume this is about the Primary key for the Details Table.
I have the OrderID set as the key column for the Summary, and it is stored in the currentOrderID Session variable. DetailID (the Primary key field in the Details table) is set to auto-increment; the error occurs when there is an existing order (Number 1) detail record.
The file is attached. . .