[Gambas-user] ODBC component fixing

Benoît Minisini g4mba5 at gmail.com
Sun Apr 4 23:27:39 CEST 2021


Le 04/04/2021 à 22:48, d4t4full at gmail.com a écrit :
> Benoît,
> 
> Trying as hard as I can.

Don't be in a hurry. If you don't find now, I will release a 3.16.1 with 
the fix.

> I may have found a problem already, but no solution yet.
> 
> There's a place where a *SQLFetchScroll()* is used instead of 
> *SQLFetch()*, but replacing it made the component fail differently.
> 
> The difference, obviously, is because the use of MDBTools. It does not 
> support cursors, so no record counting.
> 
> I'll compare the ODBC calls in my isql-like app against the ones used in 
> Gambas. Maybe something is missing or should not be there.

At worst, you can make 'gb.odbc' adapt its behaviour if a mdb connection 
is detected. When ODBC is horrible, dirty hacks are allowed. :-)

-- 
Benoît Minisini


More information about the User mailing list