Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New user needs help with pages/grids
Message
De
27/10/1998 11:29:08
 
 
À
27/10/1998 11:18:21
David Waters
Sir Arthur Lewis Community College
Castries, St Lucie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00150428
Message ID:
00151041
Vues:
32
>>Now, I see some more details. In this particular situation you should reset Grid.ColumnCount property, and all Column.ControlSources. This is the price for overriding Grid.Recordsource. If your recordset is not really big, you may change your design, and just repopulate Recordsource. What's actually Recordsource now?
>
>ed,
> recordsourcetype is set to alias, recordsource is 'assignments'. a small table.

If you will use SET DELETED ON instead of PACK, then you don't need to reset Recordsource, i.e. it's enough to call Grid.Refresh to refresh grid content. If you still want to have PACK, then you better collect non-deleted records to cursor and use this read-write cursor as permanent Grid.Recordsource. It's again will allow your grid to preserve number of columns and other settings.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform