A quick clear_block(no_validate) question

Hi guys,
As the title suggest, I have a quick question about clear_block(no_validate). Basically I have a master detail relationship and when I am on the detail block (which is on a seperate canvas than the master block) I have a cancel button which basically does clear_block(no_validate) and then navigates the user back to the master block. My question is that if the user now saves something on the master block will the information in the detail block be wiped clean? ie if the detail block contained information and when I navigated to it i decided I didnt want to make any changes to that information so I hit cancel which does clear_block(no_validate) will the whole detail block be wiped clean and null values saved to the database if the user saves on the master block?
Thanks for any help I may get.

786733 wrote:
Thanks for the response, I appreciate it, and hopefully this next question wont sound stupid, though it probably is a stupid question lol. Ok so I have just pressed cancel on my detail block which has: flushed the detail block without validating the changes, committing the changes, or prompting the end user. I then go to my master block and make changes and save them. Since my detail block has been flushed and all data cleared when I commit my changes from my master block am I committing the cleared down values (ie, null values) from the detail block?
Thanks again.Hi,
Straight Answer
When you clear any block with
clear_block(no_validate);Nothing will save or commit on that block for the corresponding master record. Any change on master will save if you not clear the master record as well.
Hope it's clear..
Hamid
Mark correct/helpful to help others to get right answer(s).*

Similar Messages

  • Why is my  CLEAR_BLOCK(no_validate) not committing to the database?

    What I need is when the alert button 1 is selected fo to the detail block(ADM) and just delete everything for the current master id. When I click on the button it deletes for a split second and all the data comes back.Quite confused..
    IF Id_Null(al_id) THEN
    Message('Alert does not exist');
    RAISE Form_Trigger_Failure;
    ELSE
    al_button := Show_Alert(al_id);
    IF al_button = ALERT_BUTTON1 THEN
         :global.cl_blk := 'Y';
         go_block('ADM');
         CLEAR_BLOCK(no_validate);
         synchronize;
         go_item('adm.dci_name');
         execute_query;
    else
              :global.cl_blk := 'N';
    GO_ITEM('AM.MAPPING_LEVEL');
    END IF;
    END IF;

    Why is my CLEAR_BLOCK(no_validate) not committing to the database?Better read the Clear_Block on-line help. I think you are mistaking the No_Validate parameter with the Do_Commit parameter.
    The No_Validate parameter "*+Form Builder flushes the current block without validating the changes, committing the changes, or prompting the end user.+*"
    With No_Validate, your changes are discarded, and NOT committed.

  • Quick SAP Script question New Page Print

    Quick SAP Script question
    I have added a new page to an existing SAP Script BUT only want it to print if a condition is true.
    I need to do this from within the form as the print program is SAP Std.
    Any idea how I can prevent the new page from printing?
    i.e. I need the form NOT to call the new page if the condition is false. Is there a way of forcing an exit or stop from with in the form?

    Hi,
    To trigger a new page, there is script ediotr command NEW-PAGE.
    so find where is that command is triggered and use the below code for trigger it on any specific condition....
    if &condition& = 'True'
    /*  NEW-PAGE
    elseif
    /: NEW-PAGE   
    endif
    so it means if condition is satisfied your new page will not work.. else it will...
    Hope you got it...
    Try this..
    Best luck..
    Regs,
    Lokesh.

  • Clear_block(NO_VALIDATE) validating the record

    Hi ,
    I am facing a issue when my code have
    Clear_block(NO_VALIDATE) ;
    After the clear_block builtin , When-validate-item of that block.item is getting fired. please help me to find why the clear_block(no_validate) is firing the WVI .
    WHEN-BUTTON-PRESSED Trigger Fired:
    Form: OEXOETEL
    Block: ADDRESSES
    Item: CANCEL
    Executing CLEAR_BLOCK Built-in:
    In Argument 0 - Type: Number Value: 11
    WHEN-VALIDATE-ITEM Trigger Fired:
    Form: OEXOETEL
    Block: ADDRESSES
    Item: PHONE_COUNTRY_CODE
    please help

    Mouse navigable is set to No already .
    Keyboard navigable is set to Yes.
    I am making every field on the block as Valid before calling Clear_block(NO_VALIDATE) but still the When-Validate-Item trigger is getting fired.
    please help .. Do When-Validate-Item gets fired when builtin Clear_block(NO_VALIDATE) is used?

  • When validate getting fired in Clear_block(No_Validate)

    When validate getting fired in Clear_block(No_Validate)
    In my button where code for clear block is present there is navigation to some of the blocks where when-validate triggers are present.
    As suggested in one of the solutions posted in metalink I cannot set the mouse navigate property of the button to No due to design constraints. Also navigation to other blocks cannot be prevented.
    The code in when-validate tests whether the field is null or not.Hence it bombs after a clear block (no validate).
    As a work around I created a timer in when validate and placed my code for validation in the whentimer expired trigger.It works fine, but does not seem to be a good patch.
    Can you suggest a better solution.
    Regards,
    Vinson

    The code in when-validate tests whether the field is
    null or not. Hence it bombs after a clear block (no
    validate). In your when-validate, do this first:
    If :system.record_status = 'NEW' then
      Return;
    End if;
    The return causes the when-validate to exit successfully, before it checks the field for null. You will want to place some validation somewhere else (in the key-commit or in the commit button wbp trigger) to ensure your field is not null before a commit is executed.

  • I have what is hopefully a quick and easy question. I kno...

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing. However I have no idea how to find the settings for my router on my computer. If it helps I have a Wirless model BEFW11S4. Thanks in advance for any help.

    You need to access your router to check if the DHCP is on.  To access the router open your browser and type in http://192.168.1.1 into the address field and hit enter.  That should open the routers log on screen and by default the user is left blank (some routers it is admin) and the password is abmin.  If you changed your routers password as you should for security reasons then use that password.  That will bring you to your routers user interface and on the main set up page should be your DHCP.
    Richard Aichner (Ikester)

  • Quick CSS box question

    Hi guys,
    Firstly a very Merry Christmas to you all !
    I'm just getting to grips with converting all the text on my
    site to CSS and have a quick question.
    On some of my pages I add an 'Also see' links box aligned to
    the right - it's a CSS div tag thingy someone kindly talked me
    through once. All of my pages are built from a template with an
    editable region.
    My question is, can I add this box (perhaps with a standard
    'Also check out' title and then spaces for my links) at the
    template level? This will save me having to go to Insert>Layout
    Objects>DivTag on every page. I've tried simply adding this to
    the editable region of the template but it simply pushed the
    editable region box over to the right and then didn't appear on my
    pages
    Also, the links box would ideally appear about half way down
    my pages on the right...
    Hope you can help, many thanks in advance!
    James
    Here's an example page where I have manually added my link
    box on the right of the page...
    http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.html

    Your CSS link implies that the CSS file is in the Templates
    folder. You
    shouldn't have anything there other than the template (dwt)
    files
    themselves. Please move it out to any other location in your
    site.
    <link href="../../Templates/Box.css" rel="stylesheet"
    type="text/css">
    Changes made to template editable regions would not propagate
    to existing
    child pages - that's why you aren't seeing that addition in
    them....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "JamesFryer" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi guys,
    >
    > Firstly a very Merry Christmas to you all !
    >
    > I'm just getting to grips with converting all the text
    on my site to CSS
    > and
    > have a quick question.
    >
    > On some of my pages I add an 'Also see' links box
    aligned to the right -
    > it's
    > a CSS div tag thingy someone kindly talked me through
    once. All of my
    > pages are
    > built from a template with an editable region.
    >
    > My question is, can I add this box (perhaps with a
    standard 'Also check
    > out'
    > title and then spaces for my links) at the template
    level? This will save
    > me
    > having to go to Insert>Layout Objects>DivTag on
    every page. I've tried
    > simply
    > adding this to the editable region of the template but
    it simply pushed
    > the
    > editable region box over to the right and then didn't
    appear on my pages
    >
    >
    > Also, the links box would ideally appear about half way
    down my pages on
    > the
    > right...
    >
    > Hope you can help, many thanks in advance!
    >
    > James
    >
    > Here's an example page where I have manually added my
    link box on the
    > right of
    > the page...
    >
    http://www.fyrne.com/james_journalism/Pages/Mosaic_of_the_med.html
    >

  • A Few Quick Lenovo T410 Questions

    Hi all,
    I posted here quite a while ago about my 9 cell battery in my integrated graphics T410 only lasting up to 5 hours. I have yet to send the notebook in simply because I haven't been able to go without it. However, I plan to do so at the start of this next week. Before I do so I was going to swap out the 500GB 7200.1RPM hard drive I installed with the 250GB 5400RPM drive that came with the notebook to see if it was an excessive power issue with the drive.This is where my worries are.
    When I inserted the 500GB hard drive into the drive tray, I had a very hard time screwing the tray in place. The screws were damaged in the process, and I have worries about taking them out, and putting them back in again. I am still under warranty.
    Am I able to recieve a new set of these screws?
    Also, 2 quick questions
    I plan on moving my 500GB drive into the slot where my optical drive is now, and putting a SSD in wheremy 500GB drive is located now. Do I need to buy anything special to make this work?
    I also plan on upgrading from the 2x2GB RAM I installed myself (machine came with 1x2GB), to 4x2GB. Is this RAM compatible?
    Thanks in advance.
    Solved!
    Go to Solution.

    FirstTimeLenovo wrote:
    Am I able to recieve a new set of these screws?
    Hi,
    I think only lenovo techs can determine or tell that, but my guess is that if they feel they need to be replaced, then they probably will.
    FirstTimeLenovo wrote:
    Also, 2 quick questions
    I plan on moving my 500GB drive into the slot where my optical drive is now, and putting a SSD in wheremy 500GB drive is located now. Do I need to buy anything special to make this work?
    I also plan on upgrading from the 2x2GB RAM I installed myself (machine came with 1x2GB), to 4x2GB. Is this RAM compatible?
    Thanks in advance.
    1. Yes, you would need this:- http://www-307.ibm.com/pc/support/site.wss/MIGR-73​170.html
    2. Yep, the RAM will definitely work.
    Hope this helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Quick photo ordering question...

    I am in the process of ordering a bunch of photos, and I have a question: When I select the photos, say 25 of them, then select "Order Prints", I see all of my photos in a list, but I have to select the quantity for EACH PHOTO! Is there ANY way I can just say "print 1 4x6 of all pictures"? I will be doing more photos and I hate to have to go to each one if I have an album of 40-50 pictures.
    Thanks in advance!
    Ken

    Up in the top right corner, you should see a Quick Order label and a double-arrow button. Click the up button once and it will do exactly what you want.

  • QUICK VIEWER RELATED QUESTION

    Hi
    Can I add a new column to my quick viewer report that will display TOTAL of existing columns in the report.  What is the method? 
    How can I make my quick viewer report to open a document when I double click a field value.  I see it happening in VF05 , va05 (lists).
    Any advice appreciated.
    Thanks,
    Surya

    Okay, Ceci, I don't know as much about this stuff as
    you obviously do, so I'm really sorry I offended you
    with my newbie faux pas. Do you realize that in the
    time it took you to rip on me you could have already
    answered the question? Thanks for the sentiment.I answered it the best I could: write a small program and try it.
    With MSAccess, my understanding is that if you have a string with length under
    255 it's type is TEXT, and over 255 it's MEMO... is this right?String: max. 255 chars
    Memo: max 64000 chars.
    Sez the Access help.
    But what does this string look like if the column will hold strings of text longer
    than 255? Try it. Might puke, might truncate the String, might autoconvert. I don't know. You'll see.
    Do I only specify the size like TEXT(400), or do I list the type like MEMO(400) or what?If you expect it to be > 255 chars, why not simply define the field as Memo right away? I doubt you can write a Memo to a textfield.

  • Quick dynamic update question

    Hi all,
    We've just got Color at work and I'm pretty impressed with it. Next they'll be bundling PFTrack or Boujou for free! Just a quick question though..
    If I send an edit from FCP to Color, do some grading (including keyframing), and then get a revised EDL through or have to alter the cut in FCP will Color be clever enough to automatically or otherwise update the clip timings? (assuming I'm still working in the original timeline)

    Qualified yes.
    Apple manual:
    Page 79.
    But there are a lot of release notes regarding re-rendering material. Beware.
    JPO

  • Quick time zone question

    I am using Java to do some date/time formating and have a quick question.
    Is Indiana's timezone "IET"? I know most of Indiana doesn't observe daylight savings time, but they are eastern when things are normal... IET seems to produce the correct time, but I just wanted to double check before I make any assumptions. Thanks for the info.

    Actually it is "America/Indianapolis". Those three-character abbreviations have been deprecated because they are ambiguous (both North America and Australia have "eastern" times, for example).
    If you have a Java 1.4 SDK, then have a look in this directory:
    C:\j2sdk1.4.1\jre\lib\zi
    (modify according to where you actually installed the SDK); each file in that directory tree represents a timezone.

  • Quick itunes search question

    Hey everybody quick question. I cant for the life of me find Forgetting Sarah Marshall in the iTunes store, when ever i search for it it comes up with a movie called 11:14. Does the iTunes store not have it? Any info greatly appreciated.....

    I'm 100% sure they USED to have it...I destinctly remember passing it over SEVERAL times and now when I want to buy it, it's not found anywhere in my US iTunes account search!!!! Where did it go?????!!!!!

  • Quick qmaster sharing question

    Just a quick question. Should I turn on and off sharing for my 8 instance cluster as I get ready to use compressor and qmaster, or can I just leave it on all the time. Does it slow other things down if sharing is enabled all the time?
    Thanks,
    Ken
    Message was edited by: MoDawg73

    You should be ok with just leaving it on. As long as QMaster isn't encoding anything, then it just sits there.

  • Basic Quick Selection Tool Question

    Is this just a newer way to do the same thing the other selections tools have been doing for years OR is there a benefit to this tool over the other selection tools?

    The Quick Selection Tool does indeed operate differently from the Magic Wand Tool.
    But it’s been introduced at least with CS3, so why the question now?

Maybe you are looking for

  • Acrobat crashes when I try to Create PDF from Web Page

    I'm running version 9.3.4 of Adobe Acrobat Pro, on Windows XP version 5.1.2600 Service Pack 3 Build 2600. Recently the company I work for created a new website, and I'm supposed to capture it as a PDF every week. But since the change in site, every t

  • Email notification center not working on iPhone5

    My email notification center on the new iPhone5 does not appear to be responding to changes that I make. For example.  Whenever I'm at the office, I don't need my phone to notify me of every email that comes in.  So I go into NOTIFICATIONS, EMAIL, an

  • MacBook to Logik HDTV

    I've just connected my MacBook (Early 2008) to my Logik TV using a Mini-DVi to HDMi Converter. I was also told by the Apple Experts to buy a Belkin Stereo Cable 3.5mm plug to RCA to carry the sound. Although the picture is great on the telly, the sou

  • Wifi problem of Nokia Messaging v10.2.04 (5800XM v...

    I have a hard time to get the nokia messaging connected from my home wifi to my office wifi after i updated the nokia messaging to the latest version. @home can sync , @Office not working, back home and it works again. I confirmed my 5800 is connecte

  • KO9E Error:

    Hi, While doing KO9E, I am getting the following Error: Activate Integrated planning with cost center for plan version 0 Kindly assist on this.