SPRedirectWithID - how to keep existing parameters

Dec 9, 2010 at 8:54 AM

Now, I have a link to new page, which looks like this:

http://site/lists/Orders/NewForm.aspx?IDO=1&Source=xyz/site.aspx?ID=1

I want to use SPRedirectWithID to redirect from NewForm.aspx to antoher's list (CustomerOrder) NewForm.aspx with the existing IDO and new created ID (IDC), so the link would be:

http://site/lists/CustomerOrders/NewForm.aspx?IDO1=1?IDC=2&Source=xyz/site.aspx?ID=1

Actually, when I use SPRedirectWithID the link is:

http://site/lists/CustomerOrders/NewForm.aspx?IDC=2

how can I pass the existing parameters (IDO and Source)?