*****Grid1.Click()****** thisform.pageframe1.page1.grid2.refresh() *****Grid2.Refresh()***** this.HighlightStyle = 1 this.RecordSource = "SELECT PADR(shapeconv(a.desc,a.dim1,a.dim2,a.dim3,a.misjunk),25) AS section,a.qty,"+; "a.len_ft,fractionconv(a.len_in) as inches,a.porder,a.popage,a.poline,a.len_in,a.pcid,"+; ".f. as selected "+; "FROM inventory a INTO CURSOR curSelections WHERE !DELETED() AND EMPTY(a.recvdate) and "+; "a.porder IN (SELECT b.porder from curPorder b WHERE b.selected = .T.) "+; "ORDER BY 5,6,7,1,3,4 READWRITE"Thanks in advance,