Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not so hot off the Grid-dle
Message
 
 
To
05/02/2002 13:18:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615622
Message ID:
00615740
Views:
17
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform