I am still not certain what you want to do here, or what you implemented, but I will try to help as best I can.
What I assume is that you want to display items from a sharepoint list that are filtered by a given ID as parameter in the query string and you want to display these items in an infopath form.
First let me say ...