>>>How do I refer to a grid on a page within a pageframe in a form? I want to refresh it from another object (my Next button) and am not sure how to refer to it.
>>
>>ThisForm.yourpageframe.yourpage.yourgrid.Refresh()
>
>Phew! Knew it was something along those lines. Thanks!
>
>Mandy
Hi Mandy,
A faster way to code references to other objects on your form is to right-click in the code window and choose object list. A list of all the objects you have defined on your form will appear. Choose the object you want to reference and VFP puts the proper hierarchy for you. It might look something like this: This.Parent.yourgrid.Refresh(). I find this faster than typing it out and plus you won't have to remember the hierarchy of where all your objects reside on your form.
Happy right clicking (HINT: In VFP and Win95 in general, right-click everywhere. You'd be amazed at what you find sometimes)
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.