>What I changed now is I instantiate the container in the INIT method of the form, rather than dropping it on the form.
>
>This way, I have no problem.
Perhaps in the former case you don't have the table (or cursor) open when your container initializes. If that would be the case, you would receive run-time errors.
If it's not broken, fix it until it is.
My Blog