Home » Developer & Programmer » Forms » sequence number
sequence number [message #80280] Tue, 03 September 2002 04:22 Go to next message
bezgouri
Messages: 3
Registered: September 2002
Junior Member
hi all,
i have a master detail bloc.
the detail block B contains 10 lines
and the table B contains a field line_id
i want to insert the line_id(it's generated from 1 to 10) in the table B
now in order to insert i just do ommit but how can i insert the line_id

thanks in advance
Re: sequence number [message #80288 is a reply to message #80280] Tue, 03 September 2002 17:52 Go to previous message
Tejpal Saraswat
Messages: 22
Registered: August 2002
Junior Member
Hi bezgouri
Just write in the Pre-Insert trigger
:block_name.Line_ID := sequence_no

automatically ur sequence will get inserted in to Table.

try it.
best Regds
Tej
Previous Topic: blinking and moving text effects when form in run mode (Form)
Next Topic: lov+insert
Goto Forum:
  


Current Time: Wed May 01 03:35:57 CDT 2024