>>No table open in work area error occurs and the grid is empty after this message appears. But I do see my populated grid for a few seconds and then the error occurs. Here is the code in my Form Init:
>>
>>
>>SELECT observe
>>GO TOP
>>SCATTER MEMVAR MEMO
>>THISFORM.Refresh
>>
>>
>>All I have on my form is a grid that fills the screen and an Exit button and that's it. I don't have any other code except I used m.fieldname for ConrolSource in each of my grid columns. And I have a checkbox in the last grid column with an m.fieldname as ControlSource. And I put GATHER FIELD fieldname MEMVAR in the checkbox Valid Event. I will keep looking at it.
>>
>>Thanks again!
>
>m.FieldName? Better use the fieldname directly. If you want the user to be able to save/cancel changes, use buffering, instead of variables.
I second Hilmar's suggestion. Never used m.variable as a source and I guess, by doung so, you will get lots of troubles. Grid works with tables (views) directly, not through memvars mechanism...
If it's not broken, fix it until it is.
My Blog