** query to filter sidemark by company code for display in a grid > >lcThisClientNumber = thisform.txtClientNumber.value > >SELECT Cdm11smk.smk_smark AS cSidemark; > FROM classicdb!cdm11smk; > WHERE Cdm11smk.cmp_code = lcThisClientNumber; > ORDER BY Cdm11smk.smk_smark; >INTO CURSOR curTmpSidemark > >SELECT curSidemark >ZAP >APPEND FROM DBF("curTmpSidemark") >GO TOP >thisform.pgfClientDetails.pagSidemarks.grdSidemarks.grcSidemark.txtSidemark.value = curSidemark.cSidemark >thisform.refresh()>The cursor is created in the Load of the form. How can I get the data into the grid without it being the page on top. Sometimes when the grid is visible, the data in the grid does not change with the selection of a new client from the combo box.