post query Radio button problem..pls help?? [message #117932] |
Sun, 01 May 2005 18:21 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
ramisy2k
Messages: 150 Registered: April 2005
|
Senior Member |
|
|
Hello,
i am facing a problem, pls help me..
I have a Radio Group (named as 'RG') as a non-databse item in which I have two Radio buttons..i.e. RB_1 & RB_2
the radio button value for RB_1 is A
and radio button value for RB_2 is B
now by using the when-radio-changed trigger i am storing the a value from either one of the two databse items into another databse item..
I have written the following code on the above said trigger
IF
:BLOCK.RG = 'RB_1'
THEN
:DATABSE_ITEM_3 := :DATABSE_ITEM_1;
ELSE IF
:BLOCK.RG = 'RB_2'
THEN
:DATABSE_ITEM_3 := :DATABSE_ITEM_2;
END IF;
END IF;
now all this is working fine...
the problem is that when i requery or move to next/previous record the respective radio button is not selected automatically......
so my requiremnet is that when I requery or move to next/previous record either one of the two radio button should be selected whose respective value according to the above code is stored in the databse..
please tell me how to achive this..
regards,
Ramis.
|
|
|
|