I have a table with a primary key and I have created a sequence, which works fine in oracle. But what I would like to know is how I can use this in vb.net 2005. I would ideally like to be able to call Client_Seq.nextVal when the add a new client but is pressed on my binding navigator, so that it populates the text box on the form before the form is filled and the data inserted. How can i achieve this?