&& In calling form DO FORM FrInvoice NAME thisform.frinvoice ..... && In method whereYou need the SUM() IF VARTYPE(thisform.frinvoice) == "O" AND .NOT. ISNULL(thisform.frinvoice) thisform.frinvoice.Sum() ELSE DO FORM FrInvoice NAME thisform.frinvoice ..... NOSHOW thisform.frinvoice.Sum() ENDIF