Home » Developer & Programmer » Forms » increment the nombor
increment the nombor [message #131221] Thu, 04 August 2005 22:00 Go to next message
swchen
Messages: 15
Registered: July 2005
Location: malaysia
Junior Member
hello, Mr.David.. me swchen again here, me wanna know how i can set the data items field(data type-number) to auto increment??
Re: increment the nombor [message #131236 is a reply to message #131221] Thu, 04 August 2005 22:44 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Oracle doesn't do 'auto increment' as a Forms Builder property. Oracle uses 'sequence numbers', or you can maintain it manually.

Have a look at "Avoiding Gaps in Sequence Number Inputs" in this forum.

David
Re: increment the nombor [message #131296 is a reply to message #131236] Fri, 05 August 2005 03:42 Go to previous message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

hi,
you can use in
When-New-Record-Instance trigger:
:BLOCK_NAME.item_name := :SYSTEM.cursor_record;
Previous Topic: Alert Window Sizing in 3-tier environment
Next Topic: How to search 'text' in form's PL-SQL(s)
Goto Forum:
  


Current Time: Thu Sep 19 23:36:22 CDT 2024