Board index » delphi » D7.1 TSQLConnection issue w/MySQL
paladin
![]() Delphi Developer |
D7.1 TSQLConnection issue w/MySQL2004-05-17 07:05:19 PM delphi84 uses D7.1, MySQL 3.23.58 to whom, I am not sure if this exposes a bug, fix, feature, or simply bad programming on my part, but it broke my code, and I'd like to see what people think. before D7.1, this worked: SQLConnection1.Open; // initial parameters point at OldDataBase // do some things SQLConnection1.Params.Values['Database'] := 'NewDataBase'; SQLConnection1.GetTableNames(ListBox1.Items, False); // Listbox contains list of tables in NewDataBase after D7.1 ListBox contains list of tables in OldDataBase :( the only way I can seem to make it read the table list correctly is to close and re-open the SQLConnection. comment? -paladin |