How do I update the underlying property of a BO being hosted in a DataGridView


Author
Message
Marcia G Akins
Marcia G Akins
StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)StrataFrame User (496 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hi All.

I know how to do this in VFP - I understand that the ControlSource isn't updated until the Valid() fires and that the Valid() never fires when you click on a ToolBarButton because ToolBars do not get focus.

I can see that you are handling this in the framework because all the changes made to the parent BO get saved. But if I change a cell in the DataGridView and then click Save, the child record is not updated. However, if I move to a different cell, the data is saved.

TIA and sorry to be such a PITA in the last couple of days.

I have a big demo for a client in half an hour, so I have been franticw00t

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search