Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The grid is vexing me.....no, it's LAUGHING at me!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00579109
Message ID:
00579118
Vues:
35
This message has been marked as the solution to the initial question of the thread.
>Form parameters
>
>VFP 3.0
>Pageframe
>This grid sits on the 3rd page of the pageframe
>Grid.RecordSource = INDVS (a cursor that is tied to a particular key from the 1st page of the grid)
>Grid.RecordSourceType = 2 (Alias)
>
>
>When I look at the Grid Properties, it SAYS that the ColumnCount = 11, yet when I run the form and check that property, it says ColumnCount = 0. Wassup with that?

Dorris, if you reset Grid.RecordSource somewhere on the way, the grid will loose the formatting and all columns. If that is the case set Grid.RecordSource ="" before the line where RecordSource gets busted.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform