Populate data from calculator to database