Page 1 of 1

Question to DataLink

Posted: Wed 13 Feb 2008 14:50
by Zero-G.
Hey

I use VB.NET 2005 and the lates Building of your Product

I try to use the following code:

Code: Select all

            Me.KundenstammLink.Position = Me.KundenstammLink.Find("KundenID", _KundenID)
            Dim dView As CoreLab.Common.DbDataRowView
            dView = Me.KundenstammLink.Current
            Me.txtNachname.Text = dView.InnerRow.Item("Nachname").ToString
The Problem is, that KundenstammLink.Position is still on first Position. How to change the Position of the DataLink, so that the cursor stands on the position, where KundenID = _KundenID?

THX[/code]

Posted: Thu 14 Feb 2008 12:38
by Alexey.mdr
Please send me (alexey*crlab*com) a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
Do not use third party components.