dimension thisform.aSelected[1] thisform.aSelected = .f. * Above 2 lines are needed in case SQL returns nothing * Then aSelected contents would be what they were before select myField1, myField2...myFieldn ; from (thisform.MultiselectGrid1.recordsource) ; where lSelected ; into array thisform.aSelectedThis could be anywhere in any method rather than a commandbutton click code, just keep in mind that grid recordsource is 'gone' in its destroy event.