I want to find out the position number of a particular record (Me.BindingContext(objCorpHO, "Corp_ho").Position).
I have a form that I created with the "Data From Wizard". It is based on one table and shows some of the fields in that table (like ClientID, ClientName, etc). The form shows the first record with previous/next record buttons that have the code Me.BindingContext(objCorpHO, "Corp_ho").Position = (Me.BindingContext(objCorpHO, "Corp_ho").Position + 1).
What I want to do is to have the user input the ClientID of one of the clients (would not be the one currently displayed) and the code needs to find the position number of that record.
Can someone tell me how to do this, or point me in the right direction?
Thanks.
I have a form that I created with the "Data From Wizard". It is based on one table and shows some of the fields in that table (like ClientID, ClientName, etc). The form shows the first record with previous/next record buttons that have the code Me.BindingContext(objCorpHO, "Corp_ho").Position = (Me.BindingContext(objCorpHO, "Corp_ho").Position + 1).
What I want to do is to have the user input the ClientID of one of the clients (would not be the one currently displayed) and the code needs to find the position number of that record.
Can someone tell me how to do this, or point me in the right direction?
Thanks.