>It's true. I mean if the line is not there, the grid child will not refresh.
>
>Remember to show it to you at the next meeting. :)
I believe it! There is alot of strange things that happen associated with grids and VFP. I use the Codebook framework which uses lots of open views/tables in the default datasession. For setting up general purpose items such as security and loading prefrences I would like to be able to jump to the default data session do my operation and then go back to the form. For example to get a preference from a simple one record preference table:
The code looks like this:
PARAMETERS lcFieldPreference
LOCAL lndatasession
lndatasession = SET('DATASESSION')
SET DATASESSION TO 1
SELECT v_preferences
lcprefvalue = &lcFieldPreference
SET DATASESSION TO lndatasession
RETURN lcprefvalue
This code works fine, except when you have a grid on the form. Then the act of switching datasessions back and forth kicks the legs out from under the grid. I guess Microsoft wouldn't call this a bug but a "limitation".
When it comes to grids nothing suprises me.
Greg Moss
gmoss@midwest.net