Skip Block in navigation?

I have a window that contains one canvas and two blocks. These block contains buttons, text items and display items. The window is basically a calendar pop-up that allows the user to select a date from a calendar. There are no db items at all.
I want this window/canvas to only be shown when the user clicks a button. The problem that I am having is that we have a toolbar with a "Next" button that uses "next_block" to show the next block, when this button is clicked the calendar shows up.
I have made all the settings necessary to make the block non-enterable but the next_block built-in still shows the calendar. Is there a way to exclude the calendar from block-level navigation?
Thanks!

I'm also interested in this topic. Presented solution is good when there's only need for stopping block i.e. last block in a sequence that should be navigable. Setting the next block property of a block to itself will stop navigation to succeeding blocks in a sequence. But what if I want just to skip a block? Let there be three blocks: A, B, C, and I want to skip B. We could do that by setting Nxt Nav Block of A to be C, and Prev Nav Block of C to be A. Of course, we could rearrange block sequence into A, C, B and set only prop of C. But I'm looking for a more general solution.
Specifically, throughout application we have blocks that should be skipped, and they all have known names. So, I'm looking for a solution where the block that should be skipped is, in some way, marked, not the preceding nor the following block.

Similar Messages

  • How to process records in a block without navigating (forms45)

    Hi.
    I use multi-record block with check boxes to allow operator select row they want to update. How can I process this task? Do I have to use:
    First_Record;
    loop
    when../*record doesn't exist */... exit;
    If /*checkbox selected */ then process_record
    end if
    Next_Record
    end loop
    But after that I have to navigate to the row I was before and I don't know how to do it.
    Or maybe (it would be much better) there is some way to silently process all rows in a block without employing the navigation process. Any advice?
    Thanks,
    Gregor

    DECLARE
    currentRecord number := get_block_property('YourBlock', CURRENT_RECORD);
    BEGIN
    First_Record;
    loop
    when../*record doesn't exist */... exit;
    If /*checkbox selected */ then process_record
    end if
    Next_Record
    end loop
    go_record(currentRecord);
    END;

  • Block portal navigation using a popup

    Hello All,
    We want to oblige authenticated users to have email to navigate into the portal , so we create a popup which is designed to show up if the authenticated user does not have a email defined in UME. This popup asks the user to enter a valid email to continue navigation.
    Our popup works within the WDJ application but when we integrate it in the portal, it doesn't block the portal navigation.
    Do you have any idea what have I done wrong ?
    Any help is appreciated.
    Thanks in advance.

    Hi,
    The problem is the modal dialog in WDJ is not a 'true' modal dialog, but rather modal to the WDJ application itself.
    You could however develop a portal appllication based on (Jsp)DynPage, and using javascript's window.showModalDialog("yourpage.jsp") display a 'true' modal dialog
    Hope this helps!
    Robin van het Hof

  • Multi Block Form Navigation Problem

    Hiii
    i have got a multi block form the problem that am facing now is that when running the FORM and when am over one of the my canvases then if i tried to press any of :
    (Tab button,Down arrow ) the canvas changes to ANOTHER Datablock ...
    i dont know what is the problem ....
    ANY SUGGESTIONS
    OMD

    Make the datablock you want to show on top as the first block in the object navigator.
    HTH.
    Regards,
    Arun

  • Update a block without navigating to it.

    I have a table with several integers in it and a Form that reads the table. The Form has to translate the integers into things the user wants to see, so I hide the actual database field, do a translation into the user friendly string and display it in a display item. In some cases 0 means OFF, 1 means ON, in other cases I have to do a calculation to convert the integer into a float, I use a formula in these cases. This is all very easy and straight forward.
    The problem is that a query puts the cursor into my database connected block but the formulas do not calculate and display until I navigate into the display block. I wrote a when-new-record-instance trigger on my database block to jump to the display block and then back. That seems kind of ugly and besides I just want display items in my display, I don't want anyone to navigate to them, the user can't directly update the table. Is there a better way to cause the display block to be updated when the database block is?

    Hi,
    did you try :blockname.itemname to assign values to teh fields?
    Frank

  • Blocking row navigation during validation error

    Hi Experts,
    I'm using jDev 11.1.2.4.0
    I'm trying to find the property blockRowNavigationOnError, but it doens't exists on my jDev version.
    Anyone knows an alternative to this property?
    What I want to accomplish is:
              - the field it's blocked after the user inserting invalid data, but it's allowed to select other rows. I want to fix the selected row where the data is invalid.
    Thanks!
    Regards.

    Something like this: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/100-undorowselection-onerror-1563372.pdf
    Dario

  • SWF in PDF blocks PDF navigation

    Hello.
    I have a PDf with some SWFs in it.
    If the user clicks inside the SWF, it is not possible to navigate through the PDF with the arrow keys or the mouse scroll wheel.
    The user would have to click besides the SWF, which is not possible in full-screen (the SWF is also full-screen).
    Would be very thankfull for a solution
    M

    if the acrobat or reader controls are still visiable I believe on view menu there is choice of full Screen.
    Seems I remember if you hover over where controls appear the should suddenly apper but you can stop the move with esc.

  • Frm-40106  No navigable item in destination block

    Hi,
    I am getting the above error. I can not make any item on the above block as navigable as the table on which block is based is just used for making business deciosins.
    Can somebody let me know which properties to be set to take care of this. This is an error (>25) so I can not supress the message.
    Thanks a million.
    --Muni                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi,
    do you want to show data only on the form and prevent any changes on it ??
    i think you can set all items' NAVIGABLE property to true, but set the UPDATE_ALLOWED and INSERT_ALLOWED properties to false after querying the data. to do that, you can prevent any changes on it even though you can navigate into the item !!

  • How to find out the current number of rows in a form without navigation

    Hi.
    Is there any way to count the rows in a form (block) without navigation to the last record?
    I am modifying CUSTOM.pll and have to count the rows before user commits changes.
    All records are new in this case. Can anyone halp me? Thanks.
    Regards
    Tomáš

    Magoo wrote:
    no, such a block-property ^unfortunately^ does not exists.
    you can just go to to the block, call the last_record build-in and find out, where the cursor is.
    But with this you call restrictred procedures and their are not everywhere allowed ...
    If you execute a query on a block, may not all records getting retrieved from database.
    For this forms does not know, how many records are really in the block and
    for this there is no build-in like get_block_property ( records_count ).It does exist indeed. GET_BLOCK_PROPERTY('BLOCK',QUERY_HITS);
    Of course, this will return the number of records that would get fetched to the block (based on the where condition), but not the records with NEW status (i.e new records which are not yet committed).
    -Arun

  • 11g Forms Tab-Page Navigation

    I am using Forms 11g on Solaris.
    A main navigator form opens another form which has a content canvas, tab-page canvas and (3) stacked canvases.
    The problem I am having is with tab-page navigation.     CTRL+TAB ( next ) and CTRL+SHIFT+TAB ( previous )
    As long as I do not initiate navigation from an item on a stacked canvas, navigation is as expected ( between tab pages only ).
    However, navigating from an item within a stacked canvas causes navigation to the parent form.
    Repeating the tab navigation keys from the parent form returns to the called form.
    Note that both key-combinations simply toggle back and forth.
    I have found no documentation on tab-page navigation so any help / insight is greatly appreciated !
    Mike

    Hi Soofi !
    Changing block order in the called form does not affect the navigation between tab pages.
    Note in my question that the resulting undesired navigation is to and from the calling form ( which only has one block ).
    Navigation between items and blocks works as expected.
    To reiterate -
         The only navigation that fails is when I attempt to CTRL+TAB or CTRL+SHIFT+TAB to another tab page from within an item on a stacked canvas.
         Attempting this navigation results in moving the cursor focus to the calling form.
         Repeating the attempt from the calling form moves back to the called form.
         None of your methods mention navigation between forms .
    Thanks for your interest.

  • Validations in a database block before commit

    Hi Folks,
    I have a database block with three fields : Agency, Start Date, End Date. Agency has a List Of values. I need to change the LOV contents depending upon the values already entered. For example any agency with end date as null should not appear in the list and if end date is entered for an agency then it should start appearing in the list...etc. I have to consider both committed and Uncomitted data. Is there a way to traverse through the block without actually navigating through it. The user should not know see the cursor moving anywhere.
    Any suggestions and ideas are most welcome.
    Thanks a lot
    Pranati

    Forms does a select for update when a database item is changed, so the locks have already been established regardless of whether you do a post. You can confirm this behaviour by adding an on-lock trigger.
    Your requirement to read other records in the block without navigating CAN be achieved using calculation properties, and I have used this technique several times in situations like yours.
    Create another agency field in a control block.
    Create a hidden non-database numeric item in your block with a calculation property of formula. The formula should be a user-written function with parameters of control.agency, datablock.agency, datablock.date. Write the function in the form program units: if the agencies match and the date exists return 1 else return 0.
    Create a field in the control block with a summary calculation property doing a sum of the other cxalculated item.
    Now all you need to do is copy the agency code from your current record into control.agency and hey presto ,the summary field instantly tells you how many other records for that agency have dates.
    An alternative method would be to maintain a copy of your block in a record group, but that could get rather complicated.

  • Enhancement request on remote block record access

    Writing code in forms to deal with information in "detail" tables, i.e. potentially multirecord tables with a probable foreign key relationship to some table or field elsewhere iin the form, is a bit problematic currently. As far as I know the only
    way to be in block A and gain some knowledge about what is in block B is to "go there" and that is navigation and it is restricted. We need a way to read and write information from records in other blocks without navigation (and the name of the block and fields should be dynamic).
    for example: get_block_record_field('BLOCKB', 3,'FIELDC') something like that? (In this case returns value of fieldc in
    third record in blockB [return -1 for no more records].
    for example: set_block_record_field('BLOCKB', 3,'FIELDC', '42') something like that? (In this case sets value of fieldc
    in 3rd record of blockB to 42.
    Another idea about blocks: automatic duplicate prevention. Have form have a property that says if this is set, then when it gets the message it will complain about records with duplicate and/or missing primary keys in that block. So for example before update/insert the duplicate/missing key check code could be activated to tell the user to do something about the problem, moving focus to the first block with the problem. (So they could adjust things and then try to save the data again.)

    oops left something out about duplicate or missing keys, an error message needs to display the key values in question!
    Otherwise it is not much of an improvement. (And would be great to highlight the offending records).
    Like "ERROR you are trying to submit 3 records in SOMETABLE with the primary key 534 03/22/2012"
    Otherwise it is akin to having the database complain about it which is on the level of "something is wrong" which
    is why we don't want to have the database complain about it. We need to detect and fix it before it goes to the database, to the extent that is possible. I have a feeling some people would not like to reveal actual table and field names so how about a user_table_name and a user_field_name concept (what is displayed to the users vs what they are called the database.)?

  • ORA-01578 - bad blocks.

    Hello,
    We had a SAN crash last month and with all the confusion I missed that we had some bad blocks after the crash. Our RMAN backups have now aged out so we don't have a RMAN backup. What I do have is a datapump backup from before the event. This is table corruption. Is there a way to either restore the table to a stage location, catalog the table or datafile somehow, then restore the bad block? Otherwise, somehow determine the bad data and get the data from the backed up table and insert it back into the bad table after I re-recreate it without the bad blocks?
    Oracle support is just saying recreate the table skipping the bad blocks but there has to be some way here if the data is on that datapump backup that I can determin what it is then restore it.
    Thanks

    The fix blocks procedure did not work and I have not attempted the skip blocks. If I run the skip corrupt blocks will my query work? Is that worth a shot next?
    select count(*) TRACKING_ID from JEBCS3NM.TRACKABLE_OBJECT t, JEBCS3NM.CONVEYANCE c where c.TRACKABLE_OBJECT_GUID = t.TRACKABLE_OBJECT_GUID and PRIMARY_MOVER_ID is null
    ERROR at line 1:
    ORA-01578: ORACLE data block corrupted (file # 75, block # 1024073)
    ORA-01110: data file 75: '/u02/oradata/bcso/jebcs3nm_d.dbf'
    SELECT OBJECT_NAME, BLOCK_ID, MARKED_CORRUPT
      2       FROM REPAIR_TABLE;
    OBJECT_NAME                      BLOCK_ID MARKED_COR
    CONVEYANCE                        1024073 TRUE
    CONVEYANCE                        1024105 TRUE
    CONVEYANCE                        1024113 TRUE
    SQL> SET SERVEROUTPUT ON
    SQL> DECLARE num_fix INT;
      2  BEGIN
    num_fix := 0;
    DBMS_REPAIR.FIX_CORRUPT_BLOCKS (
         SCHEMA_NAME => 'JEBCS3NM',
      6       OBJECT_NAME=> 'CONVEYANCE',
      7       OBJECT_TYPE => dbms_repair.table_object,
         REPAIR_TABLE_NAME => 'REPAIR_TABLE',
         FIX_COUNT=> num_fix);
    DBMS_OUTPUT.PUT_LINE('num fix: ' || TO_CHAR(num_fix));
    END;
    12  /
    num fix: 0
    PL/SQL procedure successfully completed.

  • ORACLE7/ORACLE8/OS에서 DATAFILE의 BLOCK DUMP를 얻는 방법

    제품 : ORACLE SERVER
    작성날짜 : 1999-05-24
    Oracle7 / Oracle8 / OS에서 datafile의 block dump를 얻는 방법
    'block dump'는 database 내의 block의 내용을 dump받도록 해준다.
    이렇게 얻어진 dump에는 block 내에 포함된 모든 내용을 포함하는데 단, 이것은
    OS level의 image dump는 아니며, oracle에서 user가 이해하는 데 도움이 되도록
    정해진 SYMBOL로 표현되므로 이렇게 얻어진 내용을 해석하기 위해서는
    Oracle에 dependent하며, 별도의 자료를 참조하여야 한다.
    여기에서는 해석 방법은 포함하지 않으며 dump를 얻는 방법에 대해서만 기술하였다.
    1. Oracle7에서 block dump 사용하는 방법
    oracle7에서 block dump를 얻기 위해서는 항상 database가 OPEN 상태에서만 가
    능하며, datafile도 ONLINE 상태여야 한다.
    (1) dump하고자 하는 block의 DBA를 십진수 값으로 얻는다.
    file 번호와 block 번호를 이용해 DBA를 얻는 방법은 <Bulletin:11508>을
    이용한다.
    (2) 다음 문장을 실행하여 dump 내용을 포함하는 trace file을 생성한다.
    sqlplus system/manager
    SQL>alter session set events 'immediate trace name BLOCKDUMP level <DBA>';
    (3) 다음과 같이 trace file이 생성된 위치를 확인한다.
    os>svrmgrl
    SVRMGR>connect internal
    SVRMGR>show parameter user_dump_dest
    2. Oracle8 에서 BLOCK DUMP
    Oracle7에서는 block dump를 얻기 위해서는 DBA를 얻어야하고 DBA를 이용하여
    dump를 생성하는 sql 문의 syntax도 친숙하지 않은 것이었다. Oracle8에서는
    보다 간단하고 사용자에게 익숙한 형태로 block dump가 가능하도록 하였다.
    sqlplus로 접속한 상태에서 아래에 나열된 것과 같이 file 이름이나 번호,
    block 번호나 범위를 지정하여 dump를 얻을 수 있다.
    - ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber};
    - ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber} BLOCK {blockno};
    - ALTER SYSTEM DUMP DATAFILE {'filename'}|{filenumber} BLOCK MIN {blockno}
    BLOCK MAX {blockno};
    여기에서 blockno는 dump하고자 하는 block의 십진수 값이다.
    예를 들어 다음과 같이 하면 된다.
    - ALTER SYSTEM DUMP DATAFILE 1 BLOCK 5586;
    - ALTER SYSTEM DUMP DATAFILE 1 BLOCK MIN 5585 BLOCK MAX 5586;
    - ALTER SYSTEM DUMP DATAFILE '/u01/oradata/MYDB/system01.dbf' BLOCK 98;
    주의: 그런데 이 때 잘못된 block file number를 입력하는 등의 잘못된 명령에도
    불구하고 'Statement processed'라는 정상 처리 형태의 메시지가 나타난다.
    이러한 경우 trace file에는 dump 내용 대신 다음과 같은 오류 메시지가
    적혀 있다.
    Error: alter system dump datafile: input file # 100 is too big
    BLOCK 절을 생략하면 datafile의 모든 block에 대해서 dump가 생성된다.
    이 때 trace file의 크기는 MAX_DUMP_FILE_SIZE에 의해 제한을 받으므로 전체
    block을 모두 포함하지 않는 dump가 생성될 수 있다.
    {filenumber} 를 사용할 때에는 database는 항상 OPEN된 상태이고 file은 ONLINE
    이어야 한다. 그리고 이 때의 {filenumber}는 tablespace 내의 상대적인 값이 아닌,
    절대적인 값이어야 한다.
    'filename' 을 사용하면 같은 block size를 가지고 있는 다른 데이타베이스의
    데이타화일도 dump를 할 수 있다. 이러한 경우에 dump를 수행하는 instance는
    최소한nomount는 되어야 한다. 즉 다음과 같이 하면 된다.
    SVRMGR>startup nomount
    SVRMGR>alter system dump datafile mnt3/rctest73/server/eykim/test01.dbf'
    block 88;
    dump의 결과가 저장되는 trace 화일은 USER_DUMP_DEST 디렉토리에 생성된다.
    USER_DUMP_DEST를 확인하는 방법은 1-(3)번(Oracle7)에서 기술하였다.
    3. OS block dump
    UNIX: dd if=dbfile.dbf bs=2k skip={block} count=1 | od -x > dump.out
    여기에서 {block}은 dump 하지 않기 위해 skip하고자 하는 block의 갯
    수를 지정한다.
    NT: 다음과 같은 제품들이 사용가능하다.
    MKS Toolkit , FileView (Shareware), HEdit

  • Auto skip to the next record in a multi-record defined text item

    I know that by setting the autoskip property to true, this
    allows the cursor to navigate to the next item defined in a
    block without having to press return, tab or click w/a mouse
    into the next item. What I would like to do is emulate that
    behavior using a single multiple record text in a block. In
    other words, I want the form to navigate to the next record for
    that item automatically, without having to hit the down-arrow
    key or mouse-click to the next record or whatever.
    Anyone know if that's possible?

    hi
    you can try in this way. you can set block property 'navigation
    style' to 'change record'.

Maybe you are looking for