http://gambaswiki.org/bugtracker/edit?object=BUG.1100&from=L21haW4-
Comment #2 by Tobias BOEGE: >If rs.Available Then ' <--- Here we have -1 !!! Result.Available is a Boolean. It is expected that its numerical value is -1 (meaning True). >howmany = rsprices.Count ' <---- psst ¡always get here -1! no care the query, >if there are a SP always -2 Is "rsprices" related in any way to the "rs" object you stored the query result in? I have never used ODBC but the people who know about it will likely want a project that reproduces the bug, a sample database and possibly any configuration files that ODBC might require (no idea). Tobias BOEGE changed the state of the bug to: NeedsInfo. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user