Subject | Re: Firebird 1.0 - Error creating multiple tables |
---|---|
Author | tomahahn |
Post date | 2002-08-10T14:23:32Z |
--- In ib-support@y..., Paul Reeves <paul@f...> wrote:
second ExecQuery.
Tom
> Tom Hahn wrote:It creates the database and the first table; then errors on the
> >
> > DM.IBDatabase1.Params.Add(MyTimeStrg);
> > DM.IBDatabase1.CreateDatabase;
> >
> > DM.IBSQL1.SQL.Clear;
> > DM.IBSQL1.SQL.Add(ClientTableCreateStrg);
> > DM.IBTransaction1.Active := true;
> > DM.IBSQL1.ExecQuery;
> >
> > DM.IBSQL1.SQL.Clear;
> > DM.IBSQL1.SQL.Add(ProjectTableCreateStrg);
> > DM.IBTransaction1.Active := true;
> > DM.IBSQL1.ExecQuery;
> >
>
>
> What happens if you add this line:
>
> DM.IBTransaction1.Commit;
>
> after executing the first query?
>
>
second ExecQuery.
Tom