Why does Childformdialog not work correctly


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

I have a main form with a BO and a Businessbindingsource to use it with a datagridview. To add new records I call a childform with the childformdialog. This is how it's done:



LieferBO1.Add()

Dim para As New Liefneuparams

para.cNeu = "N"

para.cModule = "Latitelneu"

para.cLiefer = ""

para.lSolo = False

If Childliefneu.ShowDialog(para) = DialogResult.OK Then .......



This works the first time I call it but the second time the liefpos.add()  does not add a new record and the bo is positioned on the actual record.

Does anyone know why this is not working?

Best regards

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