In one of my form, where I have a view, I had to do a small change regarding the ThisForm.DataEnvironment.CloseTables().
In that form, I was not using any buffering. So, the changes were done directly on the related tables for the view. However, sometimes, this was causing me some problem when I was letting the form to close the tables by having ThisForm.DataEnvironment.AutoCloseTables=.T. I had to put it to .F., and close the view manually first and then close the tables in order to avoid the problem.
With AutoCloseTables=.T., I was, sometimes, having a message saying that the table (one of my table used for the view) was not found or something similar to that.
Is that because I was using no buffering or when using views we should always close the view first?