AC> I create an SQL "select" query with the sequence:
Add SQLCloseCursor() before the second SQLExecute().
AC> I then perform the query again with:
AC> however, on the second and subsequent calls SQLExecute() returns
AC> 0XFFFF and SQLGetDiagRec() indicates "Invalid cursor state",
AC> presumably because the cursor is positioned after the last record.
AC> Do I have to reconstruct the whole query each time? Or is there
AC> some quicker call that restores the cursor to the beginning of the