The problem is the query string value is coming back empty. This:
"WHERE (((Oferta.OfertaID)=" & Request.QueryString ("OfertaID") & "));"
is equating to:
(((Oferta.OfertaID =));
Which is invalid SQL.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========