Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edits to EditBox in child grid won't stick
Message
De
30/03/1998 14:50:28
 
 
À
30/03/1998 14:46:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00088156
Message ID:
00088186
Vues:
39
>>>I have a one-to-many form with a grid representing the many side of the relationship. When I attempt (at run-time) to change the values in the EditBox controls on any line in the grid, everything works fine until I tab to the next column, when the value I've entered disppears from the grid and is never posted to the table.
>>>All read-only attributes for table, grid and EditBox are set to .F.
>>>
>>>Any ideas?
>>
>>What is Grid.Recordsource?
>
>Thanks for your reply!
>
>RecordSource is an alias for the many-side table. I add new rows using APPEND BLANK and valuing the foreign-key field after selecting that alias.

Usually, this situation assumes using of parameterized view as Grid.Recordsource
When edit session is finished you can just issue Tableupdate() to get data back to table.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform