I have a form with a pageframe and on page1 I have a grid for the child bizobj alls well as far as data entry goes.
Now there is a col in the grid that I want to total, the code in Page1.Refresh() follows: <code> DODEFAULT()
LOCAL lnSelect, lnRecNo, lyTotal
lnSelect = SELECT()
SELECT v_sjvdr lnRecNo = RECNO()
SUM v_sjvdr.yAmount TO lyTotal
GO (lnRecNo)
SELECT v_tjv REPLACE v_tjv.yDrTotal WITH lyTotal This.txtYdrtotal.refresh()
SELECT (lnSelect) <code>
This seem to trigger pointer change. So if I just enter the grid and try to exit out of the form, I get the message to save my changes and at time I get this message twice??
Please advise. Regards Bhavbhuti ©2002 Bhavbhuti Nathwani |