When to use a database with Flash

I am creating an ROI calculator based off of an Excel Spreadsheet.

The formulas in the Excel Doc have been converted to Actionscript and return the results on Submit in the following example:

Above all else - The data input needs to be captured. The results do not.

The question I have is whether I need to let the input of these numbers go through a database to return the results, while also doing the calculations? Or is there a simple way to capture the input the data and still allow Actionscript to return the results?

I do not know where to start in finding a solution.

Many thanks in advance.