What code/triggers are needed to convert list elements into Parameters for Reports 3.0?

I am writing an application in which the (1)user types in a number in a text item, (2) number is added to the list item through an add button.

How can you create a dynamic Parameter List for Reports 3.0 during runtime from a list item once the user has finished adding items into the list item?