Oracle Sequence

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
lorena
Posts: 8
Joined: Wed 12 Apr 2006 22:05

Oracle Sequence

Post by 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

Post by lorena » Fri 24 Aug 2007 21:16

:oops:
I knew if I posted the question, I would find the answer and I did.
Sorry.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 27 Aug 2007 06:32

Well done!

Post Reply