>BTW, why you're passing form's DataSessionID to the method? I hope you don't do anything with it...
>
>>>Hi Beth,
>>>
>>>You're doing something too complex here. Why do you need to reset recordsource for the grid? Also you don't have to explicitly call DODEFAULT(), you may comment it out, nothing will change.
>>
>>I am resetting the recordsource for the 2nd grid. I put the DODEFAULT() in there because I was trying to get the grid ARCC to set the record pointer to the correct record, so that my contactid would be the correct one and let the other code get the correct records. At the moment, it stays on the first record, so the second grid never really gets changed.
>>Beth
I pass the form's DataSessionID to the procedure to be sure when in procedure that I am in the correct datasession to work with the cursors. In other words:
set datasession to pnDatasession
is in the settable procedure.