Something wrong in detail block

I've defined a WHEN_VALEDATE_ITEM trigger in one item of the main block,if the item's VALUE is '1' then set the property:REQUIRE of the first two columns of the detail block to PROPERTY_TRUE and else set them to PROPERTY_FALSE .
But when I set the item's VALUE to '1',and down to the second row of the detail block without typing angthing in the first two columns of the first row,no error messages appear.
So what's wrong with it,thanks!
Phoenix

How did you set the propertie "defer required enforcement" at form level? Also if the detail records has not been changed then forms probably has nothing to validate for that record.

Similar Messages

  • Unable to see the values in detail block

    Hello,
    I have a master detail block, when I query the form, I am unable to see the values for a particular field(Column), all other columns appear properly in the details block, Upon checking the same table(s) in SQL ( by using the JOIN defined in the where clause of the relationship in Forms) , it shows the relevant records for all fields. So what could be wrong with the Form, please advise.
    Thanks
    FM

    IQ wrote:
    I have just checked the field its a non-database field which is being used as a LOV column to display a value derived from LOV. How do I make this populate at Query time, as obviously this works when the Form is in a insert mode but not for Query mode. How to make it work for Query ? As it for LOV column and non-database filed, ignore my first suggestion.
    Does your non-database filed has associate any column ?
    For example, you have SUPPLIER_ID (database column) and SUPPLIER_NAME (non-database column). SUPPLIER_NAME has LOV column. And when selecting supplier name from LOV value also assign at supplier_id.
    Now to show supplier name when querying, you have to write POST-CHANGE trigger at supplier_id. like
    SELECT ASSC_CODE INTO :MST_SUPPLIER.ACC_CODE
    FROM ACC_SUB_SUB_CONTROL
    WHERE ASSC_ID=:MST_SUPPLIER.SUPP_ASSC_ID;Hope this helps

  • Some of my loops are greyed out... is there something wrong?

    In my loop browser some but not all of my loops are greyed out and can't be played. For instance, slide guitar, celeste, vocals and horns. Should these be normally accessible and if so what could be wrong with mine. How can I fix this?

    Thank you. I thought there was something wrong with my Garageband installation but now I know that if I want these I have to buy the Jam packs. Last time I looked at a Jam Pack box it didn't list the detailed contents (loops) though.

  • I am new to Final Cut Express and don't understand why I am unable to drag transitions into Canvas? Something wrong in my setup? It's not the overlays they are "on" so can anyone advise me please?

    I am new to Final Cut Express and don't understand why I am unable to drag transitions into Canvas? Something wrong in my setup? It's not the overlays they are "on" so can anyone advise me please, by the way the "L" doesn't appear in the bottom left hand corner either? and by the way how can I get rid of that irritating Blue badge saying "AutoFill your contact details" all mine are in "address book" already!

    You can't drag a transition into the canvas. If you're dragginmg a transition from the effects tab you drag it between the edit point of two clips in the timeline.
    Make sure show edit overlays is turned on in the Canvas view popup.

  • Disable a field of a detail block

    Hi. I am working on master-detail form.i want to disable my detail block field when execute.
    But no error no changes.Here is my code
    TRIGGER:POST-QUERY
    IF :XXTT_KONTRAT_LINES_V.TIP=2 THEN
      fnd_message.set_string('1');fnd_message.show();
    --SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, enabled, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, insert_allowed, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, update_allowed, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, NAVIGABLE, PROPERTY_true);
    else
      fnd_message.set_string('2');fnd_message.show();
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, insert_allowed, PROPERTY_false);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, update_allowed, PROPERTY_false);
    END IF;

    mustafa_yilmaz wrote:
    Hi. I am working on master-detail form.i want to disable my detail block field when execute.
    --SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, enabled, PROPERTY_true);
    You can't ENABLE or DISABLE an item in a multi-row block using the Set_Item_Instance_Property() built-in.  Take a look at the Forms Help system on this built-in and you will find that you can only set the following properties using this built-in:  BORDER_BEVEL, INSERT_ALLOWED, NAVIGABLE, REQUIRED, UPDATE_ALLOWED, and VISUAL_ATTRIBUTE.
    In order to make a field in a multi-row block disabled, you have to emulate a disabled field.  In other words, you can set the INSERT/UPDATE_ALLOWED properties as you are doing and I would recommend you also set the NAVIGABLE property to FALSE in your ELSE clause as well.  If you need the field to appear as if it is disabled, then I recommend you create a set of visual attributes; one for a disabled field and one for an enabled field.  Something like: DISABLED_FIELD and ENABLED_FIELD.  Then you can use the Set_Item_Instance_Property() built-in to set the visual attribute in addition to the other properties you are setting.  This will give the field the appearance that it is disabled.
    Hope this helps.
    Craig...

  • Is de-interlaced always worse than interlaced watching on TV ? Or do I do something wrong ?

    I am working with FCP X, using interlaced material (1080i) shot with a Panasonic TM900 Cam.
    So the original footage is AVCHD 17Mbps.
    Typically I apply the following workflow to export the film:
    - Export from FCP X timeline without any conversion as master-file (i.e. ProRes 422)
    - Process through Compressor 4 to h.264 Quicktime movie with average bitrate of 20Mbps keeping the orginal resolution and framerate (25 fps, 1080 res)
          a) with all frame controls switched off -> results in a 1080i movie
          b) with frame controls switched on for de-interlacing, using "better" or "best" filter and Output fields "progressive" -> 1080p movie
    In case a), when watching the film on the media player of a Samsung LCD TV the output quality is extremely good and has no visible difference to the original AVCHD file (that I watch by plugging the camera via HDMI to the TV)
    But: in case b) all scenes with fast movements are much worse in quality (played with the same media palyer as well as when playing with Apple TV3). Moving objects are no more sharp and there are "block artefacts" around fast moving objects. Same appears for scenes with fast zoom. Quality is really visibly worse compared to the original AVCHD.
    The effect does not change when I use "best" filter settings.
    I am now wondering:
    Is a de-interlaced 1080p film "per defintion" worse in quality compared to the 1080i film, when being watched on a TV ?
    For me this sounds strange, as I understood that at the end also my Samsung TV does some kind of "on-the-fly" deinterlacing, as the LCD screen is of course progressive.
    Or do I do something wrong ?
    Happy for any advice and help !

    You sure that the original footage was shot interlaced? The information I found on the camera is that it shoots progressive.
    Hard to generalize about what looks better – interlaced or progressive – except that interlaced can look pretty dodgy with computer play-back. Otherwise, much depends on the material that was shot.
    Bear in mind that de-interlacing per se throws away half the information. Frame Controls tries to compensate for that loss. Going from Pro Res to h,264 is a major compression step by itself; adding more filters in our attempts to improve results also can increase the possibilities for errors. Maybe that's what happened here.
    Russ

  • LOV problem in Master-detail blocks

    Hi,
    I'm working with Designer 6.0.3.5.0.
    I've got a form with two master-details blocks :
    Block A
    |
    |||
    Block B
    |
    |||
    Block C - Lov D/E
    In my block C, i want to create two lovs (D/E).
    When i'am displaying the key item of the block (FK between C and the LOVs) and with the property "Enter FK with Descriptor"=NO. The LOV is OK on the key item and works correctly.
    But when i want to display only the descritor item (with the property "Enter FK with Descriptor"=Yes). The item is correctly displayed but without the LOV. If i open my module with forms, i can see that the lov is not built.
    Does somebody know if i miss something or if it's a bug ?
    Thanks for your help.
    Dominique

    I solved it by commenting the Go_Item(startitm); line in the clear_all_records program unit which is generated by oracle forms.
    as shown below.
    IF :System.Cursor_Item <> startitm THEN
    --Go_Item(startitm);
    Check_Package_Failure;
    END IF;

  • Multiple master blocks populating the same detail blocks

    Hey guys. Im doing something a little weirder than I usually do but I can't get it to work correctly and im wondering if any of you have accomplished this before.
    I have a call center application which processes applications by either the application or by follow up. The application and follow up are each a block by themselves located on a separate pages on a tab canvas. Both these blocks are master blocks to the detail blocks which would be user_phones, user_addresses, user_bank_accounts, etc. The idea is I can use either page of the tabs and flip through either the follow up, or application master block and have it populate the user tables according to the user_id found on the master blocks. I figured I could use a when-new-block-instance trigger to switch off which block fires the on-populate-details trigger.
    The problem is.... complicated. If I go to the follow up block and execute query, it brings back the right information on the detail block. The strange thing is it seems like when I move the cursor to a different record on the same block, forms is almost setting a SET_BLOCK_PROPERTY DEFAULT_WHERE action. This is un-noticeable until i go to the other master detail block. When I start using the applications block, it seems like all the detail records actually MATCH the user_id that the cursor was on in the follow up block...
    phew! thats a lot of description for such a strange problem..
    Anyways. Anyone encountered this before? Has anyone ever built a two master block form to populate the same detail block? Is it possible? I haven't found a thread in the forum about this subject..
    Any help would be great. Thanks in advance :)

    Having one detail block for two master blocks was never a use case that we considered for Forms. It sounds like you are trying to make a many-to-many relationship work with two master blocks. I suggest you think about having an intermediate block (hidden or not) that drives the detail block and make each master block drive that intermediate block instead of driving the detail block directly.

  • Get detail block names

    Hi,
    If I am given a block name, how can I get all the detail block names of this parent block ?
    Thanks.
    Ivan

    Hi All,
    Is there a way to extract or list the object names by grouping them with their
    object_types in an oracle form.Something like as we for do for columns of a table.
    Or should we go for any work arounds if yes how to go about that.Please suggest.
    Thanks in advance.
    Regards,
    Marlon

  • Applemac OSX 10.7.5 How do I spot pop ups appearing every time I click the mouse on-line. this has only just started.have I clicked something  wrong??

    How can I stop pop ups apprering every time I use the mouse on-line. have I clicked on something wrongly??

    You may have inadvertently installed adware. Eradicating it is simple and you don't have to download or install anything to fix it. For an explanation or how this may have occurred, how to avoid it in the future, and for one possible solution read How to install adware.
    Blocking popup windows in Safari and ad blocker extensions can be useful, but they are often ineffective defenses for this particular threat.

  • Detail blocks in tab pages not queried automatically

    Hi
    I have some generated forms with the following layout:
    - in the content canvas top, the master block
    - below the master block (in the same content canvas), a tab canvas with 2 (or more) pages with detail blocks
    When I query the master block, the detail blocks are not automatically queried, the user must navigate to them to make the automatic query work.
    I found out that it is something related to the blocks not being in the same canvas. But visually, they are in the same canvas, I would like that the detail blocks were queried automatically.
    Is this possible? I think this layout is very common and useful, I am sure Designer has some way to do this.
    Thanks
    Luis Cabral

    Hi
    I found it - I just set BSCSCP preference correctly, and now it works fine!

  • Problem in query detail block

    hello all,
    i have a form having master and detail block. in master we have store_cd and location code(primary key in master table),
    based on that detail recrds fetch in detail block. perfectly fine. but when i query within detail block records then it show no record found. please tell me what can be wrong.
    detail table primary key is (store_cd, location_code and storage_co) , in realtion i mentioned
    masterblock.store_cd=detailblock.store_cd and masterblock.location_cd=detailblock.location_cd
    Thanks
    yash

    yes, there are records in detail table... table structure(master and detail block)
    SQL> desc ivt_store_mst
    Name Null? Type
    STORE_CD NOT NULL VARCHAR2(3)
    STORE_DESC NOT NULL VARCHAR2(25)
    LVL_REF_CD NOT NULL VARCHAR2(6)
    STORE_TYPE VARCHAR2(2)
    Primary key(store_cd,lvl_ref_cd)
    SQL> desc ivt_storg_mst;
    Name Null? Type
    STORE_CD NOT NULL VARCHAR2(3)
    STORAGE_SRL_NO NOT NULL NUMBER(10)
    STORAGE_CD VARCHAR2(10)
    ITEM_CD NOT NULL VARCHAR2(10)
    BAY_NO VARCHAR2(10)
    SHELF_NO VARCHAR2(10)
    ROW_NO VARCHAR2(10)
    TIER_NO VARCHAR2(10)
    BIN_CARD_NO VARCHAR2(10)
    INSERT_DT DATE
    GRN_NO VARCHAR2(12)
    GRN_FIN_YR_CD VARCHAR2(8)
    PLEVEL_REF_CD NOT NULL VARCHAR2(6)
    PGRN_LEVEL_REF_CD VARCHAR2(6)
    Primary key(store_cd,storage_cd, plevel_ref_cd)
    relation property is: noo-isolated
    deferred: false
    autoquery: false
    block join condition based on detail_blk1.stor_cd=masteblk.store_cd
    when i query from master block , ALL detail blocks ITEMS are displaying. but when i query again among detail block items then, no record found base on query field(detail blk: item_cd which is base table field).
    when i query in detail block for all records then Every time only one item display with same item_cd...
    if further some info required, plz mention

  • Data missing from Detail Block after query

    Hello all,
    I have created a form with a master and detail block. The master data is on a content canvas the detail data is on a stacked canvas which lies on the content canvas. Before you enter the form a find window appears and asks the user to enter criteria to limit the data shown on the main form or just enter the main form. When I put in criteria to bring up more than one record for the master block the first record shows up fine but when I move to the next record the detail block goes blank. When I go back to the first record the detail block is still blank. I first thought this was a problem with the relationship but the deferred and automatic query are set to NO. I am confused at why this is happening, please help.
    Mike

    Dmytro,
    Thank you for replying to my post. I set the automatic query to yes for the block relationship and I am still having the problem, the deferred coordination property is set to no. If you have any other ideas I would appreciate the help. Could this be because of something that I have put in a trigger on the detail block.
    Mike

  • Query a detail block

    Dear members,
    I use Forms 6i c/s, with a 8.1.7 database.
    I have two blocks, with a master-detail relation between them.
    When I try to search for records in the detail block (Enter-Query / Execute-Query), I get only one record: the one that was synchronized from the master block.
    I'd like to find a way to get all the records when querying the detail block, while keeping the master-detail relation.
    Any idea ?
    Is it just the "Copy value from item" on the detail block side that narrows the records to just one ?
    Or can I modify something in the triggers/procedures created by the relation ?
    Thanks for your help.

    I understood your idea of a separate search block, but >one thing remains unclear: where do I populate the >results ?You still query the original M-D blocks to get results by setting the master/detail block's default-where property and execute_query on the block respectively.
    You need to concate the user inputs into a string for default-where as user may input ename and sal two fields to find out how many departments and dependents info.
    The separate dialog even allows user to input detail block's ename, sal and master block's loc fields to get the specific department, which default M-D cannot do this.
    In addition, default search button does not allow you set one master or detail block default-where and execute-query, then go to detail or master block to set default-where and execute-query.
    You do a simple testing on tables of dept and emp, then you will sense this.
    Good luck.

  • How to validate non commited items in detail block.

    Hi All,
    I have a Detail block with 10 rows and 2 columns. the select of items is based on LOV. If i select One item in one row, then the user cannot select the same item again in other rows. either I need to not show the selected item in LOV or I need to raise form trigger failure and ask him to change values. This is to be done before commiting the items. Can anyone, please suggest me some way or triggers I can use.
    Thank you.

    If the process is done by a key-commit trigger or a when button-pressed trigger then it is simple . But if there is no such trigger then you should create it because it is more convenient to make controls inside key-commit rather than in pre-update or pre-insert because these triggers do not accept restricted built-ins.
    To validate your items just loop through the list of records and compare the values to the one you are on. Then if there are no match then you go to the next record to search for.
    Something like this :
    declare
    v_current_value_to_compare varchar2(100);
    v_record pls_integer;
    begin
    go_block('detail_block_name');
    first_record;
    while :system.last_record = 'FALSE' loop
    loop
    next_record;
    v_current_value_to_compare := :detail_block_name.item_name;
    v_record := :system.trigger_record;
    if :detail_block_name.item_name = v_current_value_to_compare then
    -- make your control here
    end if;
    exit when :system.last_record = 'TRUE';
    end loop;
    go_record(v_record);
    end loop;
    end;

Maybe you are looking for