>LPARAMETERS nColIndex >DODEFAULT() >LOCAL llok, lcclient, laoption(1) >lcclient = ccontact.clientid >laoption[1] = ccontact.contactid && when I stop it here, the record pointer is still on the first record, not the record I clicked on the grid. >THISFORM.cpageframe1.page1.grid2.RECORDSOURCE = "" >llok = settables(lcclient, THISFORM.DATASESSIONID, "CRACT", @laoption) && this gets the correct records for the 2nd grid >THISFORM.resetgrids(.T.) && this sets the grids back to the correct recordsources >SELECT 'crscustmer' >THISFORM.REFRESH() >>