I get this error when run this part of simple.prg in postgres contrib, previously works ok in similar statement a few lines before I read about this error and may be an initialization error , but I just try to do cQuery:="" and is the same error
any Idea thanks --------------------------- error -------------------------------- Inserting, declared transaction control Error BASE/1081 Argument error: + Called from TPQQUERY:ERROR(0) Called from MAIN(79) ? 'Inserting, declared transaction control ' oServer:StartTransaction() cQuery:="" For i := 1 to 10 cQuery := "INSERT INTO ventas(code, dept, name, sales, tax, salary, budget, Discount, Creation, Description) " cQuery += "VALUES( " + str(i) + ", 2, 'TEST', 'y', 5, 3000, 1500.2, 7.5, '12-22-2003', 'Short Description about what ? ')" oQuery := oServer:Query(cQuery) if oQuery:neterr() ? oQuery:error() ---------------------------------> this is line 79 endif oQuery:destroy() Next
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour