[Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database
bugtracker at ...3416...
bugtracker at ...3416...
Fri Nov 11 14:51:07 CET 2016
http://gambaswiki.org/bugtracker/edit?object=BUG.1013&from=L21haW4-
Comment #15 by Benoît MINISINI:
The open_database() driver function takes a DB_DESC structure pointer as first argument.
Modify the name in that structure that way:
GB.FreeString(POINTER(&desc->name));
desc->name = GB.NewZeroString(my_new_database_name);
Anyway, maybe you should take into account the name provided by the user, possibly adding it to the connection string? If possible, I don't know the ODBC connection string format well.
More information about the User
mailing list