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

Similar Messages

  • Execute_Query in MASTER-DETAIL form queries the DETAIL block...?

    I'm using Oracle Form Builder with a Master-Detail relationship, I have a WHEN-NEW-FORM-INSTANCE trigger which runs 'EXECUTE_QUERY;' but it is returning records from the Detail block rather than the master block. Can anyone tell me how to return records from the master block?
    I have no idea what the block name is. I've tried the data block name and the title above the block and both say they are undefined.
    Thanks.

    Welcome at OTN
    Please Before posting on this forum please read
    I have no idea what the block name is. I've tried the data block name and the title above the block and both say they are undefined.At Layout Editor expand the Data Block nodes. Here you will get the block name.
    Check in When-New-Form instance trigger, is there any code like
    Go_Block('details_block');IF yes , delete this line...
    Hope it helps...
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • To get current data block name

    Hi;
    I have 2 data blocks on my form and I want to get current data block name on my form. How can I do this???
    Thank you

    Like Rosario said, use the :SYSTEM.CURSOR_BLOCK.
    you can also use :SYSTEM.TRIGGER_BLOCK in triggers to find which block was responsible of the firing event of a trigger.
    Do not use :SYSTEM.CURRENT_% variables in Forms 9i and above, those are only there for compatibility reasons.
    You can also check the online help for more details on :SYSTEM.% system variables.
    Tony

  • How can I get a detail block to requery after a database change?

    Hi, I have a master/detail form. When the status of the master record changes, I need to update a date in one of the detail records. If I use SQL to update the detail row in the database in the ON-CHANGE trigger of the master block, how can I get the detail block to requery to show the change? When I try doing a go_block from any of the ...UPDATE triggers, it says it is restricted.

    wjpenfold,
    Do you have a "Relationship" defined between your Master and Detail blocks? If so, you simply need to requery your master block and the detail block will automatically be requeried. If you can't use a relationship, then you can use can create a timer in the trigger that updates the database and then in the When-Timer-Expired (WTE) trigger you can go to the detail block and execute a query. For example:
    /* Sample On-Change trigger */
    DECLARE
       timer_id  TIMER;
    BEGIN
    ....your code here that performs the update....
       /* Now create an instance of a timer */
       timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
    END;
    /* Sample Form Level When-Timer-Expired trigger */
    DECLARE
       timer_id   TIMER;
    BEGIN
       -- Find the timer first
       timer_id := FIND_TIMER('upd_detail');
       IF NOT ID_NULL(timer_id) THEN
          GO_BLOCK('DETAIL_BLOCK');
          Execute_Query;
       END IF;
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to get number of lines entered in detail block

    Hi ,
    Below is my requirement, I am calling custom form from standard RCV transactions form.
    Below are parameters : PO NUMBER, RCPT NUM, QTY. These values will be passed from standard form to custom form and these values will be stored at header level in my custom form.
    Based on the Quantity, I have to validate my detail block. For eg. If my quantiry is 10, my detail block items should not less or greater than 10.
    Can any one please suggest me how to achieve this. I tried SYSTEM.TRIGGER current record etc,. I am getting below issue. If I place my cursor on any other record rather than last record it is throwing error. SO any experts please help here.
    Thanks,

    You can use a calulated item of type summary for this. set the following propertie for a newly created item in your detail block
    -Summary type=Summary
    -Summary function=Count
    -Summarized block=your detail block
    -summarized item=any Required item in your detail block
    Now you can check the number of records with that item.

  • How to get block name in a tab canvas

    I am trying to develope a form with six tabs on a tab canvas. Each tab pages contains a block derived from a database table and not items taken from the same table.
    If I want to capture the name of the block in a tab page when page is changed, How can I do it.

    If you like CRAZY PAIN you can parse dbms_utility.format_call_stack to get the trigger name and owner and then using all/user_triggers extract info of table name, which has such trigger defined on it.
    Although I wouldn't do that :)
    I'd simply create a variable in trigger definition containing table_name and/or another variable containing trigger name and use them.
    It is especially easy if you are generating triggers for example for some auditing purposes.
    Gints Plivna
    http://www.gplivna.eu

  • How to get details about Exception catched in Exception branch of the Block

    Hello Experts,
    Is it possible to get details about Exception catched in Exception branch of the Block in Integration Process (BPM)?
    In the Exception branch System Error is catched, but from time to time different type of System Errors are happening during sync call to WebService - Connection Timeout, Connection Refused, UnknownHost, etc.
    So the task is somehow to map the type of System Error to the response. I was trying to create a mapping using as source the message which is coming from the Adapter after the sync call, but the mapping is failing with "No Source Payload" error.
    Maybe the description is somewhere in Header or Dynamic configuration?
    Or it is possible to access it somehow with JAVA-maping?
    Thanks for your help!

    Hey,
          the message from the exception can be utilized by using alerts(in order to mail,sms r fax). but otherwise its not possible using mappings or container.
    check this link for alert configuration.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

  • Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing :  "mac os x snow leopard cannot be installed on this computer"  And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1

    Getting problem while installing Snow Leopard (10.6.3) on my Mac Mini. The following issue is showing : 
    "mac os x snow leopard cannot be installed on this computer" 
    And My Mac Configuration details:  Model Name: Mac Mini Model Identifier: Macmini2,1
    Intel Core 2 Duo
    1.83Ghz
    l2Cache: 2mb
    Memory : 2GB
    Bus Speed: 667MHz
    Please help me......
    Thanks

    Actually i have Mac OS X 10.5.4 DVD, I need to upgrade it to Snow Loepard(OS X 10.6)...
    Please suggest me what to do???
    Thanks

  • Data in detailed block is not getting populated

    I have created 3 blocks-: block1, block2 and block3
    I have created two relations
    1st - between block1 and block2 (block1 is master and block2 is detailed)
    2nd - between block1 and block3 (block1 is master and block3 is detailed)
    Now, on the canvas I place a text item block1.text_item1 (involved in relation) from block1,
    and a text item block3.text_item3 from block3 (this too involved in relation) block3
    when I execute the form and I query on master block that is on block1.text_item1, data in detail block that is in block3.text_item3 do not get populated.
    Now I place a text item block2.text_item2(involved in the relation) from block2 on the same canvas
    Now I again execute the form and query on the master block that is on block1.text_item1, this time data in all three blocks got populated.
    I want to place items only from block1 and block3 at present. Could you please tell me how can I do this?
    Regards

    No, I am not getting such error. Only data is not getting populated.
    If I remove item from block3 and place item from block2, then also the data is getting populated.
    Item from block1+ Item from block2 -> Data is getting populated
    Item from block1+ Item from block3 -> Data is not getting populated
    Item from block1+ Item from block2+Item from block3 -> Data is getting populated
    Regards

  • When mouse Entered, get block/name.

    I need to create some java code that, on, when-mouse-entered, and when-mouse-exited, the java code will pass the item's block name and item name back to the form.
    Ideally I would like to create generic code to use with any item. i.e. I don't want to 'hard-code' block and item name's into the java code.
    Example:
    -in forms, create a text item (:BLOCK1.ITEM12)
    -set item's implementation class to RecognizeMouseEnteredExited
    -When mouse entered/exited, pass items block/name of item to Oracle forms.
    Assumptions:
    I am assuming I need to tap into Oracle Forms IView interface to extract the item id and name, but as much assistance with the actual code would be GREAT!
    Thanks

    You can get it with :system.record_number. To determine the position in the multi-record block use get_block_property('block', top_record)

  • How to get the Country Name details always in Eng while using the SForms

    Hi Group,
    I have a requirement as under:
    the Smartform has to display the COUNTRY NAME - always and it should be printed in ENGLISH only.
    The Smartform is having a Alternative option(for printing the Address) and for YES part(for certain countries) - the fm "ADDRESS_INTO_PRINTFORM" is being used and for the NO(for the rest of the countries) part an ADDRESS TEMPLATE is being used....
    The issues are:
    - the fm 'ADDRESS.......FORM" is printing the COUNTRY Name for certain cases and for the rest it is not...
    - the Address template has no option to do any manipulation on the COUNTRY Name to come
    how can have the COUNTRY NAME to appear in both the cases(YES part and NO part) printed in ENGLISH always?
    I tried for a USEREXIT "EXIT_SAPLSADR_900" but still not able to tweak it and get the COUNTRY NAME always in ENGLISH.
    Kindly provide your valuable inputs.
    Regards,
    Vishnu.

              Hi Laura Taylor ,
              Thanks for your Reply and Thanks for ur Guidelines.
              Thanks & Regards
              Subu.
              "Laura Taylor" <[email protected]> wrote:
              >
              >Unfortunately, there is no way to determine the country unless the client
              >indicates
              >that to you directly(i.e. via a form input value). However, there are
              >two request
              >headers that can help you determine the language preference(s) of the
              >client:
              >
              >Accept-Language -- Specifies the language preference(s) the client prefers
              >to
              >receive.
              >Accept-Charset -- Identifies the charset(s) the client understands.
              >
              >Laura
              >Developer Relations Engineer
              >BEA Support
              >
              >
              >"Subu" <[email protected]> wrote:
              >>
              >>Hi ,
              >> i have a requiremtn in which i want to display the country name
              >from
              >>where
              >>the user browse our webpages . for example if he is browsing from us
              >>, then i
              >>should display US and if he is browsing from UK , then i should dispaly
              >>"uk" etc...
              >>can anyone guide me how to proceed .
              >>
              >>thanks in advance
              >>
              >>Regards
              >>Subu
              >
              

  • Query forms based on detail block

    My question is pretty simple: Is it possible to query a form (Forms [32 Bit] Version 6.0.8.11.3) based on a detail block? Let me explain my problem! I have a table called REQUISITION and of its field is STATUS_CODE. Then I have another table called STATUS that have the following fields: CODE, NAME, DESCRIPTION, PHASE, etc. The join condition between REQUISTION and STATUS is REQUISITION.STATUS_CODE = STATUS.CODE. On my form, all of the fields come from table REQUISITION but the problem is that we have over 30 different status and my user can't remember their names and phase. So I inserted two display fields on the forms and wrote a post-query trigger to populate the field with their corresponding names and phases. But now my end user are complaining that the fields don't allow queries to be performed which prevents them to use a query to know all requisitions that are on phase "Procurement" which corresponds to four different status_code. So I though in inserting the fields PHASE and DESCRIPTION into table REQUISITION and write a trigger that would populate those field every time the STATUS change but that would cause a problem when lets say STATUS 01 is part of PHASE "Procurement" then comes next week the company decides that is not longer part of phase "Procurement" but now it is part of PHASE "Purchasing" they would go the form based on table STATUS and change the field PHASE of the corresponding STATUS that they want. But now I have this data on another table holding information that is no longer valid. Sure I could write another trigger to change field REQUISITION.STATUS_PHASE whenever there is a change on STATUS.PHASE but wouldn't that be too much bookkeeping? Would be so much easier if I could query my forms based on the detail block (this case table STATUS and master block table REQUISITION)?
    thanks so much in advance for any thought! Btw, I am open to other suggestions too!!!!!
    gleisson henrique

    if I understood you correctly, you can do this manually. what I mean is,
    when the end user picks phase "Purchasing", you can change the where clause on the master block and execute the query to get the desired results
    e.g.
    v_cod varchar2(200) := 'STATUS_CODE in (select code from status where phase = ''Purchasing'')';
    begin
    set_block_property(requisition_blk,default_where,v_cod);
    execute_query;ofcourse you have to change "Purchasing" in the previous code to the item that holds the user inputs
    hope this is helpful
    Edited by: Mohammed H. on Sep 19, 2008 6:45 PM

  • Getting error DeviceInfo Name already exists Parmeter Name:deviceInfoName in SSRS

    Hi ,
    We are Getting error "DeviceInfo Name already exists Parmeter Name:deviceInfoName" when click on report.From ASPX page we are calling the reports.ASPX pages hosted in IIS and Reports are deployed in report server.
    Some times only click on any report we are getting the above error message.Closing the broser and click on the same link it is working fine.This issue is heppening for some times only.
    Please let me know whether i need to set any property in IIS to recycle or Report server to resolve this issue.
    Thanks,
    Vijay.

    Hi Vijay,
    According to your description, when calling reports in ASPX page, sometimes it throws “DeviceInfo Name already exists Parmeter Name:deviceInfoName” error message.
    I would like to know which version of SQL Server you are using. In SQL Server 2008 and later versions, SSRS doesn't use IIS anymore, although it does use the same driver (http.sys) as IIS to manage connections.
    In Reporting Service, it control Recycling by setting RecycleTime . The default value is 12 hours. Garbage collection runs continuously as well as when application call the GC function. When the application use garbage collection, Reporting Service is blocked
    and waiting for garbage collection to be completed. During this time, Process Monitor misunderstands that Reporting Service is stopped, so Process Monitor stops Reporting Service really and create a dump file.
    In configuration settings, ProcessTimeoutGcExtension can affect Reporting Service when garbage collection is in progress. So in your scenario, I would recommend you to modify the RSReportServer.config file to add the ProcessTimeoutGcExtension key. Configuration
    settings for Reporting Service are stored in the Reporting Services configuration file(this file locates at xx:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config). For detail information about how
    to add the ProcessTimeoutGcExtension key in Reporting Services configuration file, please refer to this article: 
    When you use SQL Server 2008 Reporting Services, the ReportingServicesService.exe process may stop responding during CLR garbage collection.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • 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

  • How to get the query name from  portal report name

    Hi Experts ,
    I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
    Thanks in Advance
    Nitya

    Hi Nithya,
    You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
    EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
    Regards
    Amar.

Maybe you are looking for

  • Error in Migrating Weblogic 8.2 to Weblogic 9.2

    Hi, We are trying to upgrade to Weblogic 9.2 from Weblogic 8.2. We are using Queues in our application and we are using default host and port in our application for connecting that t3://localhost/ But when we tried to migrate the application, Weblogi

  • Special character handling in XI

    Hi, I have a scenario wherein edifact files are passed through XI to partners . The edifact input file contains special characters like ô which gets converted to Ã.This is causing the despatch advice to fail at the receiver end. Can anyone suggest ho

  • Ipod 4th gen. screen too dark, adjusting brightness does not help

    lost ipod for a few weeks. When found screen is too dark.  If you hold it in the light just right you can see everything and it works, you just cant see it.

  • Problem federation Lync

    Hi, I have a problem with federation Lync. I have this error:  1010; reason="Certificate trust with another server could not be established"; ErrorType="The peer did not respond to TLS or MTLS negotiation in a timely manner"; I am not able to federat

  • Need driver for-webcam live!

    dose anyone have a driver for-webcam live! - i have been informed that the driver for my webcam has been classified as "end of service life "thanx