Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Dissapears
Message
 
 
À
07/05/2001 17:32:19
Robert Dinsmore
Dinsmore & Associates, Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00504452
Message ID:
00504528
Vues:
17
Robert,

When you reissue the SELECT for the cursor that the grid is displaying you cause the grid to self-destruct and then rebuild itself from baseclass controls.

IMHO, using a parameterized view is far better than the RecordSource mangling solutions.

>A form has a pageframe and on one of the pages, a grid is defined. The record source for this grid is a cursor which is initialized from a table and then commands are issued to define the control source for the 5 grid columns. (thisform.pgfbase1.page6.grdbase1.column1.controlsource = "temp.field1", etc.)
>
>This works fine the FIRST time the page is activated for a particular record. However, after that record is saved and another record is selected, the grid as originally designed dissapears and a grid is displayed that shows all columns of the record even though the above command executes as before.
>
>Anyone have any ideas? This is driving me crazy.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform