On 13/03/2013 13:19, Charl Roux wrote:
> 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);
> }
Hi Charl,
That's great - glad it works. That seems like the simplest solution.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie