Hi Ray, Thanks for all the help. It works perfectly.
void __fastcall TfrmMain::FormCreate(TObject *Sender)
{
unsigned int errorCode;
AnsiString SQL = "CREATE TABLE IF NOT EXISTS queryBackup( queryName text
PRIMARY KEY, query text )";
errorCode = frmDataModule->eyeConnection->ExecuteDirect(SQL);
}
Charl
