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 15:40:28
Stephen Bridgett
Stephen Bridgett Consulting
Gloucester, Ontario, Canada
 
 
À
30/03/1998 14:50:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00088156
Message ID:
00088208
Vues:
47
>>>>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.
I've had the same problem only today. I am editing the table, buffer mode 5. If I add a record I can edit no problem. After I comit the update and revisit the data and edit it, any new values I edit immediatley revert to zero, the default. The revert occurs as I tab out of the text box. There is nothing special about the grid. The recordsource is a table and all text boxes are readonly = .f.. Stumped!
Stephen Bridgett
Hand Crafted Relational Database Solutions
Focusing on Visual Foxpro and Object Oriented Design
SBridgett@cyberus.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform