Home » Developer & Programmer » Forms » Sequence Number in Detail Block
Sequence Number in Detail Block [message #169943] Sun, 30 April 2006 22:52 Go to next message
samit_gandhi
Messages: 226
Registered: July 2005
Location: Hong Kong
Senior Member

Dear All,

I want to insert the sequence number in detail block. How to do it?

Samit
Re: Sequence Number in Detail Block [message #169966 is a reply to message #169943] Mon, 01 May 2006 01:42 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
As you said in http://www.orafaq.com/forum/m/169942/67467/#msg_169942 all you need to do is, in the When-Create-Record trigger, populate the key field. I normally do this via a 'select' statement.
select seq.nextval
  into :blk.itm
  from dual;

David
Previous Topic: couple of quick questions
Next Topic: How to enable SQL TRACE for a particular Session through Forms6i?
Goto Forum:
  


Current Time: Fri Sep 20 09:49:29 CDT 2024