Have you tried : fbc.Parameters.Add("@artnew",param1); //same for param2 :) I believe you get your error because fbc.Parameters is not yet initialized ...i think the Add() is the correct way to include parameters ... And btw ...don`t forget to .Clear the parameters before Adding the ones for the new query (i tend to clear and reAdd everything i need to ...) ... Hope i helped :) .
________________________________________________ Message sent by <a href='http://mail.data.bg'>Data.BG WebMail</a> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider