Naomi
>>I knew there is something more :-))))))))
>>Grids doesn't like when you switch data sessions. But I think SET DATASESSION is much faster than CURSORTOXML/XMLTOCURSOR. You just must redefine your grid, if you pass DATASESSIONID as parameter and not use _screen.ActtiveForm.
>
>Right, Borislav, I used the Load idea and the cursor is now accessible. But now my FormatAndSetCaption method of the grid is giving me "Object name is invalid" error on NewObject command... :(
>
>I actually was lazy again (as always) and thought I would try to format grid initially in run-time, then switch to command window and grab all properties and then use some sort of a builder. But I think designing it in design time in this case would be easier and less time wasting.
>
>Thanks a lot for your help.
>
>On the second thought <g> let me try something like
Re: Grid - replacing text boxes with my text boxes... Thread #
626348 Message #
626508 first.
How about in the child form load set the datasession to the calling form's datasessionid? If the child cursor already exists, the grid will find it.