Hi there,
in an app I have a panel with a toolstrip (and some toolstrip-buttons), a datagridview and some textboxes.
There is a BO (called MessidentBO) and a Business Binding Source to which the BO ist bound. The BBS is used as datasource for the datagridview and the textboxes. In the cmdNew-Button I have the following code:
Me.lEditmode = True
Me.DGVWL.Enabled = False ' Datagridview disabled
Me.cmdwlneu.Enabled = False
Me.cmdwledit.Enabled = False
Me.cmdwlsave.Enabled = True
Me.cmdwlundo.Enabled = True
Me.cmdwldelete.Enabled = False
Me.bbsmessident.BusinessObject.Add()
Me.bbsmessident.BusinessObject.Edit()
Me.TGBWL.Enabled = True ' Themed Group Box Enabled where the textboxes reside
Me.TxtMIIdent.Focus()
But this does not work. A new record is append, but the "record pointer" (If I can use this term) is not set to the new record but stays on the one selected in the Grid.
What really makes me wondering, is that I use the same kind of code in another app and there it works fine!
I've been comparing the two pieces of code and the properties of the used elements but I can not find the difference.
Has anybody a tip for me what I might have been missing?
Thanks in advance
Thomas