Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing grid recordsource table causes problems.
Message
 
À
05/08/1998 15:48:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00124244
Message ID:
00124306
Vues:
11
>If i close a grid's table, then re-assign a new recordsource, the header click() events no longer fire.
>
>I even tried adding them to the class and they still quit working after changing the recordsource.

Matt,

When you remove the recordsource for a grid it loses it mind and forgets what it is. The solution is to;

lcRecSource = THISFORM.Grid.RecordSource
THISFORM.Grid.RecordSource = ""

* Do your thing
* then ...

THISFORM.Grid.RecordSource = lcRecSource && or whatever you want
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform