Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Put a comment solves the problem
Message
From
13/04/1997 04:56:51
 
 
To
13/04/1997 00:46:20
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00028102
Message ID:
00028110
Views:
54
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform