Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Base Grid on Cursor -- Any problems? Any Tricks?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00317290
Message ID:
00319426
Vues:
20
>>The "empty string" method also resets the ControlSources of the grid columns. If you are selecting all the fields in the RecordSource in the exact order you are going to display them in the grid, this is not an issue.
>
>Thanks for pointing that out. In this case, the cursor I am using does have all the fields in the exact order of the grid, but that might not be true the next time.

Another little "gotcha" with any method that relies on order is that the columns can become disordered unless they all have controlsources individually assigned. I.e., a user moves (drags-drops) column 3 to column 1. Then does a fresh query - the data may be out of order now, with the wrong header showing - depending on how your code works, and only if columns are movable. But it certainly can happen (been there, done it...)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform