Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edits to EditBox in child grid won't stick
Message
From
30/03/1998 14:50:28
 
 
To
30/03/1998 14:46:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00088156
Message ID:
00088186
Views:
43
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform