Topic: Connect database
Hello... how to connect mvd application with sqlite database using script... and how to load data in tablegrid using script...
My Visual Database → General → Connect database
Hello... how to connect mvd application with sqlite database using script... and how to load data in tablegrid using script...
Hi,
connect to another SQLite database:
SQLExecute('ATTACH DATABASE ''d:\testDB.db'' as ''TEST''');
and use in the program
SELECT TEST.person.firstname, TEST.person.lastname FROM TEST.person
Thanks...
But i need complete procedure to connect and retrieve data..
I mean connection strings, query procedure ,loops, load data in table grid using script
Thanks...
But i need complete procedure to connect and retrieve data..
I mean connection strings, query procedure ,loops, load data in table grid using script
// отключаемся от старой БД
frmStart.SQLConnection.Connected := False;
// подключаемся к новой БД
frmStart.SQLConnection.Params.Add('Database='+listBox.Items[listBox.ItemIndex]+'\sqlite.db');
My Visual Database → General → Connect database
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi