Hello! This is kind of a silly remark but I my self often forget that #sql-count, #sql-status and $sql-error are global variables when calling them from inside functions with a local context. Ask your colleague to check this so he should not use #_sql-count, #_sql-status and $_sql-error instead. Regards Anders Eriksson