Another child-form-problem


Author
Message
Thomas Holste
Thomas Holste
StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)StrataFrame User (370 reputation)
Group: StrataFrame Users
Posts: 144, Visits: 618
Hi there,

i have a simple form containig a business-binding-source a BO and a datagridviw. From this form I am calling a childform with the childform-dialog to add or edit a record. Here's the code for adding:



KundenBO1.Add()

If Childkunden.ShowDialog = DialogResult.OK Then

KundenBO1.Save()

Else

KundenBO1.Undo(MicroFour.StrataFrame.Business.BusinessUndoType.CurrentRowOnly)

End If



Works fine, but if I change the sort-order by clicking the datagridviews header, the synchronisations seems to get lost and if I try to add a new record, I get an already existing one to edit and the newly added record appears somewhere else in my grid. Why is this happening?

Best regards and thanks in advance

Thomas
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