Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid problem
Message
De
14/01/1999 15:19:22
 
 
À
14/01/1999 15:10:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00176091
Message ID:
00176162
Vues:
28
>Edward,
>Thanks for the quick response. What you have suggested does work but it completly replaces the grid with the controlsource table. I then loose the grid column headers that were originally set up for that particular grid. Any other suggestions? Thanks again.
>John Symons

John, it's not my suggestion kills the headers, it's the way you handle the grid , just remember that initially you had completely blank grid, so some progress is here :).
There are two ways to work with somewhat dynamic grid, i.e. grid which changes it contents (recordsource) according interface/application flow. The first way is that you track all these changes by restoring grid settings. Usually, it includes grid.recordsource and column.controlsources but may also include column.columnorder, column.width or even header.caption; though extensive number of settings may indicate some design flaws. Another way is to base grid permanently on read-write cursor. When you want to show something new grid, it will mean deleting/inserting new records to this cursor, but link between the cursor and grid will not be broken, and grid settings will stay unchanged.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform