>I commented out the code. Result: The gird was not built and I did not get the error message. This was accomplished with the new cmdReturn button with the coded "thisform.release()" in teh click event.
>
Ok, now uncomment this code one in a time. E.g. first try to uncomment only the RecordSource portion and leave out the Header's assignments code.
>Interestingly, the original cmdReturn which is part of my baseform did not want to work. i.e., I could click on it and nothing happens, but allows me to nagivate thru the pages in the pageframe. I can't understand why.
>
I usually don't include buttons in the form's class... Anyway, put
set step on
return dodefault()
into the old cmdReturn to see, what is actually happening...
>Again, thank you for taking the time to discuss this with me.
I guess, this is the hard to crack case. Sergey in his FAQ pointed out all known to me causes of this problem. I had such error messages myself, but was able to overcome them every time...
If it's not broken, fix it until it is.
My Blog