I'm not fully understanding what the problem is, when or where it is occurring. I thought that the duplicate entry error was occurring when you were inserting the record. It seems that you are saying that you see it at the top of the page when you try to go from page one to page two.
Do you have a link where this can be seen? If not I would like to open a ticket for you on this so we can get the details cleared up.
In general what you have described here should be just fine. You are essentially just getting to a particular id value and passing this along to the second page. The next page would need to take this value and filter a recordset on it. You can then use the values from that recordset anywhere on the page you would like to see info for that record. If you are inserting into a table you must ensure that you are not inserting into any of the key columns unless you know you are inserting a unique value.
My feeling is that this issue is more simple that it seems, but that we are on different pages about what the problem is and when it is occurring. Please post back with the details about this and include a link where we can see this. If this is not something you can post let me know and I will get a ticket opened for you on this issue.