Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorry for being a numbskull - a grid question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065305
Message ID:
00065337
Vues:
36
>>>Parameterized, ordered views are the best way to go in situations like this.
>>>Something else that might work is to base the grid on a SELECT statement. If you
>>>need to edit in the grid, copy the results of the SELECT into a temp cursor. Just
>>>be careful that you don't lose the connection between the grid and the RecordSource
>>>when you do that.
>>Yup. I should have added in parameterized view, but I think that it is unecessary to use one.
>>Can you help with the problem.
>
>The SELECT statement and the p-view are the only things I can think of
>offhand that will give you your sorted table....

One problem I had when I started replacing tables with parameterized views in grids is that my "find" button, which does a LOCATE FOR myexpression, can't locate any child records, unless it finds one that goes with the current parent. Unless there is a better way, my find button will have to be changed so that it will locate in the underlying child table, get its parent key, then LOCATE FOR parent.key = child.parentkey, then REQUERY the parameterized view.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform