On 9 October 2015 at 11:52, Mark Patterson <[email protected]> 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