Oracle Sequence

Oracle Sequence

Postby lorena » Fri 24 Aug 2007 21:12

I am using VB.Net 2005 and CoreLabs OraDirect 4.0. I want to access an Oracle sequence (that I have already created) and use its .NEXTVAL property for the key field of my table.
Users will be adding new records via a datagridview. I have that already set up but I cannot seem to figure out how to reference the sequence.nextval.
Are there any examples of how to do this?
lorena
 
Posts: 8
Joined: Wed 12 Apr 2006 22:05

Never Mind

Postby lorena » Fri 24 Aug 2007 21:16

:oops:
I knew if I posted the question, I would find the answer and I did.
Sorry.
lorena
 
Posts: 8
Joined: Wed 12 Apr 2006 22:05

Postby Alexey » Mon 27 Aug 2007 06:32

Well done!
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle