Home » Developer & Programmer » Forms » HOW TO ENTER DATA IN MULTIPLE RECORD ITEM?
HOW TO ENTER DATA IN MULTIPLE RECORD ITEM? [message #84449] Tue, 16 March 2004 20:18 Go to next message
Anup
Messages: 12
Registered: April 2002
Junior Member
Hi!!!

i created a block along with four items in it. i had given total no of records visible as 5. Suppose items are col1,col2,col3,col4 .now when control comes out of some other block and goes to this block,user should enter values in col1 and col2 and col3 ,after that my form should calculate col1+col2 and should display that value in col4.

i got problem with this !!!

also if col4 value is less than some predefined constant var_const then form should prompt to nxt record otherwise should go out of the  block.

if any one got any solution plz let me know!!!
Re: HOW TO ENTER DATA IN MULTIPLE RECORD ITEM? [message #84457 is a reply to message #84449] Wed, 17 March 2004 01:36 Go to previous message
simi
Messages: 23
Registered: August 2002
Junior Member
Hi

Make the col4 as display item.

In when-validate-item trigger of col1,col2 put the code
:col3 := :col1 + :col2;
Previous Topic: rollback or commit
Next Topic: need answer for one basic interview question
Goto Forum:
  


Current Time: Tue Apr 23 20:47:15 CDT 2024