Pop up always appears

Do us all a favor and post that code using this guide:

That way we can see the entire script and try and help.

You might need to investigate why the Database is faulted rather than covering it up in the code.

1 Like