in reply to ODBC

Unfortuantely, when the array has more than 14 entries, a perl.exe error window pops up.

Lacking info on what your data looks like, I can only provide a few hints:

  1. Rather than reusing the connection ($qry), create a new one inside of the loop, use it, and close it. If there's a problem with Win32::ODBC recycling data structures for queries, this should side step it.
  2. Beef up your error detection. Print $qry->Error() after each operation while debugging.