Home » Developer & Programmer » Forms » D2K(Clear Block)
icon5.gif  D2K(Clear Block) [message #133970] Mon, 22 August 2005 23:59 Go to next message
Prasanna
Messages: 43
Registered: April 2001
Location: India
Member
Hi Everybody,
Iam Prasanna, I have one problem in D2K, Im not well know of this D2K. The problem is as follows.
In one form you will have two blocks contents. There will be two radio Buttons, when I change any of this option, then the previous block contents should be cleared.
I hope Iam clear here. Please anyone help me out with the code need to be given for this, No_Validate also I have added.
When I gave Clear_Block('my') then it is getting disabled.

Waiting for your reply.

Thanks & Regards,
Prasanna
Re: D2K(Clear Block) [message #134006 is a reply to message #133970] Tue, 23 August 2005 04:33 Go to previous message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

hi,
when you select the radio button, you can check it in when-new-item-instance trigger....first POST the data and then check for the radio button vale. If it is the required value then go to your required block by GO_BLOCK('block_name') then CLEAR_BLOCK and then return back to your radio button.
Hope you can do the remaining work yourself.
Regards.
Previous Topic: ORA-00001
Next Topic: multi record blocks
Goto Forum:
  


Current Time: Fri Sep 20 01:43:26 CDT 2024