Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Databinding & Navigation Problem


Message #1 by "Shaneil Narayan" <SNarayan@e...> on Thu, 20 Mar 2003 14:52:57 +1200
Hi,
 I have a data entry form and have binded the text boxes to a dataset at
design time. After data has been entered, I want to be able to navigate
(move to first,previous, next,last record) through the entries.

my code for next button is :

Me.BindingContext(objDsMEIEntry, "CEMINVDETAIL").Position 
(Me.BindingContext(objDsMEIEntry, "CEMINVDETAIL").Position + 1)

I get this error when i move to next record:

Column 'SHAFT, PERIOD, ITEMNO' is constrained to be unique.  Value 'O, 33,
DR06' is already present.

The values O,33,DR06 was entered in the data entry form. I just want to
navigate thru the records that have been entered....any suggestions?

Thank you.





  Return to Index