On Sunday 09 October 2016 14:38:08 tea wrote: > How to call CreateDataBase? > > Code: > ----------*----------*---------- > var > … > ibBase: tmseibconnection; > … > > procedure tmainfo.OnCeate(const sender: TObject); > begin > if not FindFile(ibBase.DataBaseName) > then ibBase.CreateDataBase(ibBase.DataBaseName); > end;
There must be a complete SQL create statement http://www.firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-ddl-db.html " ibBase.createdatabase( 'create database ''localhost/3050:'+ibBase.DataBaseName+''' '+ 'USER ''SYSDBA'' PASSWORD ''masterkey''' ); " Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

