>Pablo,
>
>The grid is created before the form's INit runs (the Form's Init is the LAST thing that runs sduring the creation of a form)
Yes,
>. If you opne the table in teh Form's Init then it is not open when teh grid is created and its Init runs so you get the error, alias is not found because the alias doesn't exist yet.
No Jim, I open all the tables in my form baseclass, in the Load, and this is done before creating the grid.
A moment!, I revised this again:
1. I have a form baseclass that has a pageframe and in the second page the grid
2. stopping execution of as the first line in the Load Event of my frmclients, I also got created obly the pageframe and the grid!!!! No more, nor other textbos and nothing who his parent is frmclients. It's likely if you baseclass has you have even in the load!
goodness! That's why it was important to ask you this. I must solve this.
>
>
>By waiting to set teh column's controlsource until after the table has been open you don't get the error because the alias does exist.
Yes, but my opening is from the Codebook (cdataenv) and I get the grid created in the load!
Many thanks for this.