As far as I know there is no direct way to do this. Having just tried to do some interaction between subform and mainform Bharat gave me an idea.
What you need to do is add some programming to the subform. Open up the Program Layout for the subform. Select the forms name in the Element drop down list and then go to either On Immediate Change or On Element Change depending on how quickly you want the other form to respond. You will then want to insert the following code (assume the name of the subform is Items and the main form is Purchase Order):
Globalvalue ("Items Change",1) ;
writeln (@globalvalue ("Items Change") + " is new Globalvalue") ;
delete the write ln or comment it out when youa re sure things are working.
I am using 1 for True & 0 for false in this example as I haven't played with booleans yet so i'm not sure of the exact case/spelling.
Now on the main form you will need to add some programming. Select the forms name in the Element drop down list and then select On Form Exit from the event drop down list and add the following code.
Globalvalue ("Items Change",0) ;
writeln (@globalvalue ("Items Change") + " is new Globalvalue") ;
What this code has done is when there is a change it sets a global variable to contain this change. When the user then leaves the current form it then resets the variable.
To make use of this variable simply insert into the code where youa re trying to determine if the subform has changed:
if @globalvalue("Items Change") = 1 then
{
....
}
I hope this helps if you need more clarification just ask away

Justin