Question to DataLink

Question to DataLink

Postby Zero-G. » Wed 13 Feb 2008 14:50

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]
Zero-G.
 
Posts: 390
Joined: Sat 09 Dec 2006 12:20

Postby Alexey.mdr » Thu 14 Feb 2008 12:38

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.
Alexey.mdr
 
Posts: 729
Joined: Thu 13 Dec 2007 10:24


Return to dotConnect for MySQL