Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Not Updating
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00360074
Message ID:
00360079
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform