Hi Derek,
each time you need SQLEXEC (and in my apps this happens rather often) you'd have to establish a connection to the database. This may need some time. Therefore instantly closing your ODBC Sessions will lead to lower performance. So IMHO you should only close secondary sessions (if those exist at all), but not the one you're constantly working with.
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011