Forum OpenACS Q&A: Response to db_dml in a foreach loop isn't working

Collapse
Posted by James Thornton on
I may have found the problem -- the bind vars are binding at the time of insert, not when they are set so the db_dml loop is trying to insert the last element twice.