Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refreshing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00233538
Message ID:
00233549
Views:
35
>I'm currently running VFP5.0 with a Windows 95 OS. Computer is a Dell PII 233 w/ 64Meg.
>Here's the issue:
>Within a "As Top Level" Form, I have a grid that is bound to an alias. Clicking on any of the command buttons will bring up another form with all the information on the selected employee. When closing that form and returning to the Top level form the 1st time all is well, but if I change the selection in the grid, go to one of the command button options and return, The Grid in the Top level form will not repaint itself.
>Things I've tried:
>Ensuring my current work area contains the alias the grid is bound to, it is. Ensuring the form is calling the grid refresh event, it does. Ensuring the record number is correct and not at BOF or EOF, it is.

Not quite sure what's going on in your code (perhaps the alias is going out-of-scope, or some code in the TL Activate is running), but often re-setting the grid recordsource will solve it:

In TL Activate, you can try

gridname.recordsource = 'aliasname'

then refresh it, see if that helps...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform