That looks correct to me.
Is the value actually being passed to the page in the URL string? i.e Is the correct ID in the URL?
One thing I have come across is that if you create, and then edit a Dreamweaver recordset it sometimes creates a second recordset, which could be overriding the first one.
Please can you attach the code of your page?