On 9 October 2015 at 11:52, Mark Patterson <mark.aurel...@gmail.com> wrote:

> Thanks for the suggestion. I wrote this procedure, after a bit of avoiding
> exceptions with autocommit mode and the methods:
>
> procedure TdFBZeos.Refresh;
> begin
>   ZConnection1.AutoCommit := false;
>   ZConnection1.Commit;
>   ZConnection1.AutoCommit := true;
>   ZConnection1.StartTransaction;
> end{ Refresh};
>
> I call it as soon as the background thread has fininshed, but I still
> cannot see the tables I add until I rerun the program.
>

I do see the new tables I create if I do this in that Refresh method:

  ZConnection1.Disconnect;
  ZConnection1.Connect;

That is a bit drastic, but it will do for this case.

---
Mark
  • [firebird-suppor... Mark Patterson mark.aurel...@gmail.com [firebird-support]
    • Re: [firebi... Helen Borrie hele...@iinet.net.au [firebird-support]
      • Re: [fi... Mark Patterson mark.aurel...@gmail.com [firebird-support]
        • Re:... Mark Patterson mark.aurel...@gmail.com [firebird-support]

Reply via email to