Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Not Updating
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00360074
Message ID:
00360079
Views:
10
>Hello All,
>
>I know this question has been asked, but I cannot find the answer.
>
>I have a form with a page frame with two grids. The tables behind the grids are not related. I can see the information in both grids from their tables. I run a process through a number of business object classes. When the process is complete I see that one of my grids has now gone totally white and contains no information.
>
>Why is this?
>
>Thank you before-hand!
>
>Larry Rix
>larryrix@uswest.net

Larry, it looks like your grid lost the RecordSource. Check if something in the process resets the grid.RecordSource, or closed the table.
You can trace it and see what is happening to the grid.RecordSource. If you want to keep all grid properties intact you need to set Recordsource = "" before you start processing, and then reset it again (and column.controlsources too if they are not in default order)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform