gridadditem Method
Object: frmorderentry
Expand/Collapse source code of procedure gridadditem Source Code
SELECT Order_Line_Items
*-- Delete any empty line items
DELETE FOR EMPTY(product_id)

APPEND BLANK
REPLACE order_id WITH orders.order_id
thisform.grdLineItems.Refresh()
thisform.grdLineItems.SetFocus()
*-- Activate the product column
thisform.grdLineItems.ActivateCell(thisform.grdLineItems.ActiveRow, 1)