>I see You already got your answer, but, wouldn't this work? > >
>local laTotal(1)
>
>laTotal[1] = 0
>selectSUM(JN6.nJN6_3) ... Intoarray laTotal
>
>* If there were no records"tallied", laTotal would still be 0
>
>LcMessage = "Amount of it is " + Transform(laTotal[1])
>
>
on VFP9 aggregate functions, a value returns always, eventually NULL.