JT Jankowiak wrote: > string insert = "INSERT INTO members (CODE_MEMBER, ID_FAMILY, > FNAME, SNAME, FLNAME, SLNAME, BIRTHDATE, GENDER, CELL_PHONE, WORK_PHONE, > ALT_PHONE, EMAIL, NIT, PROFESSION, JOB, JOB_POSITION, PHOTO) VALUES ( '" > + Core.Config.AppSet.Default.code + "', " + family + ",'" + fname + > "','" + sname + "','" + flname + "','" + slname + "','" + birthdate + > "','" + gender + "', " + phone2 + ", " + phone3 + "," + phone4 + ",'" + > email + "','" + nit + "','" + profession + "','" + job + "','" + > position + "'"; > //Just in case some no essential information is empty > insert = insert.Replace("''", "null"); > insert = insert + ", '" + photo + "')";
Try using a stored procedure and parameters to do your insert. It will make life much easier for you. Cecil Martin ------------------------------------------------------------------------- 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