>I am using a form that is in a class library, I have put a pageframe on the form and I am putting the grid on the pageframe. Setting that grid up the way you suggested above. I have thisform.grd2.RecordSource="test"
> Thisform.grd2.Visible = .t.
>when I click on the command button, I am getting an error stating that the grid is an unknown member. Help is telling me obvar.memberobj.property no member named memberobj was found. Does this have something to do with the Form being a class?? How can I fix this? I have also tried using Thisform.pageframe.grid (the pageframe will come up as the object not being a member)
Run:
thisform.pageframe.page.grid.visible=.t. && surely pageframe/page has name
or better (if commandbutton sits on the same page):
this.parent.grid.visible=.t.
Edward Pikman
Independent Consultant