DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: forms6i

  1. #1
    Join Date
    Jan 2002
    Posts
    111

    forms6i

    Hi gurus
    i have place two blocks,one is a datablock and the other one is the control block.i have place some items on both block.i am displaying connect string and username under control block.i have got a button clear form,when i press clear form i dont wont to clear these two items i.e connect string and username.please let me know how about doing this
    thanks

  2. #2
    Join Date
    Sep 2002
    Location
    Romania, Cluj-Napoca
    Posts
    11

    Thumbs up

    Instead of using CLEAR_FORM why don't you clear all the blocks manually, all the blocks but that one, that you don't want to be cleared? Use CLEAR_BLOCK
    Last edited by alorincz; 10-24-2002 at 04:48 AM.

  3. #3
    Join Date
    Jan 2002
    Posts
    111
    I used the clear block it raised an exception,i handled the exception too,but the clear block is not working

  4. #4
    Join Date
    Sep 2002
    Location
    Romania, Cluj-Napoca
    Posts
    11
    1) What exception was raised?

    2)
    There may be a way, bat it's a nasty way.
    You could save the content of the items in variables (local variables in your clear_form procedure), and after clearing the form with CLEAR_FORM(NO_VALIDATE), you can repopulate the block with the variables. If you have more items, that you want to repopulate you could use a record variable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width