• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 624
  • Last Modified:

How to clear a datablock in forms 6i?

The scenario is like this
I have three datablock in a formXX
First i open the A datablock and do a sreach for 'DUMMY' which will give me B block with the dummy data
now in that B block i have a COPY_TO button and when i press that it will give me C block
Now i enter data in the C block and hit OK button which is in C block (that will close C block.)
Again i am going to hit copy_to button but when do this it opens with information which i entered previously

So whenever i open the C block i want it to open without any data in it.
Can somebody help me out here.

Thanks a lot in advance.
 
0
babunagendra
Asked:
babunagendra
1 Solution
 
sujit_kumarCommented:
You can use,

go_block('block_C');
clear_block;
......


Sujit
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now