in "while {[set row [$stmt fetch]] != {}} {" dollar before stmt forgotten. It doesn't appear in samples because there statement named as stmt (same as in procedure)
Log in to post a comment.