Hi,
try this.
It combines 2 more functions (Upper() and Concat()) with your existing script,
if (not topmostSubform.Page1.Total.isNull) then $ = Concat( Replace( Replace( Upper( WordNum(topmostSubform.Page1.Total, 2) ), "DOLLARS", "PESO" ), "CENTS", "CENTAVOS" ), " ONLY" ) else $ = "" endif