>lets say I have a search form called PRODUCTS and I fire a child form called ITEMS, via a cmd button. I want the child form, ITEMS, to be refreshed after it is called, so when the user chooses a new product, the child form doesn't display the old selection.... rather, it would display the new selection.
Forms refresh themselves after they init. You don't have to do anything. Unless you mean, you launch the form, and then change the record pointer in the parent form and want to refresh the child, in which case you need to send a message to the child form from the a method that runs when you move the pointer...
Form-to-fom messaging is best handled through a forms manager, but can be accomplished by getting an object reference from one form to hte other by looping through _SCREEN.Forms and searching for your other form:
FOR EACH oForm IN _SCREEN.Forms
IF oFOrm.Name = "MyChildForm"
oForm.Refresh()
ENDIF
ENDFOR
Erik Moore
Clientelligence