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. ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user