Block property pallete question.

Hi folks,
Am working on this form, in one of the data blocks, the database data block is set = 'N'. However, the data source is = 'Database table' and the data source name = 'Database Table name'. What is the significant of this. None of the Items is a database item. In another block just like the one above, one item is a database item.
Kind Regards,
Ade

Sourav,
Data source name is the table name in case of data source type is TABLE.
Data source name could be 'SELECT EMPNO, ENAME FROM EMP' if data source type was FROM clause.
Do you understand this relation ?
anyway you can find explanation in the Forms Builder Online-help (Ctrl+H)
Francois

Similar Messages

  • Block Property (Query Data Source Type)

    Hello Friends
    I am using Forms 6i.oracle 9i.
    in the Block Property Pallete under Query Data Source Type there
    are 4 Type is mentioned.i have used Table,From Clause Query but yet to use Transactional Trigger and Procedure.How to use this two and it will be very kind enough if u give any example about these twos.
    Regards

    There's a whole bunch of explanation about this subject in the online help of Forms. Just select the Query Data Source Type property and press F1. The initial explanation is very limited but there are a number of useful links under "Related topics"

  • Query_data_source_name block property

    Hi all.
    I want to create a block non-base table in which I want to change dynamically the source of the block. I have thougth to set at runtime the block property query_data_source_name and to pass it a different select at a different value of a parameter.
    My questions are:
    1) How is the use of this property??? I have seen it on the on line help but it's not clear.
    2) Is there another way to obtain the same result??
    I'm on devsuite10g.
    Thanks in advance for the collaboration.
    Fabrizio

    I have tried to clear the block; but the result is the same.
    Here is my code:
    DECLARE
    condizione varchar2(5000) := null;     
    BEGIN
         condizione := '(select '||:parameter.campo1||', count('||:parameter.campo1||') from '||:parameter.imposta_ricerca||' group by '||:parameter.campo1||')';
         go_block('sag_cong_congiunturali');
         clear_block;
         set_block_property('sag_cong_congiunturali_raggr',query_data_source_name,condizione);
         go_block('sag_cong_congiunturali_raggr');
         execute_query;
    END;
    When I'm in runtime the select is this:
    (select CODICE, count(CODICE) from SAG_CONG_CONGIUNTURALI group by CODICE)
    I don't understand where is the error...
    Fabrizio

  • Item property does not overrides block property ?

    I have CURRENT RECORD VISUAL ATTRIBUTE set to SOMETHING for block A. i also have CURRENT RECORD VISUAL ATTRIBUTE for item AA in block A ( A.AA) . but when i run form, it looks like item AA's CURRENT RECORD VISUAL ATTRIBUTE is not in effect ?
    usually item's property should override block property. but it'snot happening here.. can anyone figure out??

    Set_Item_Instance_Property is a more specific control, so Set_Item_Property logically should not change it.
    Create two package variables defined in a package specification in the form, trig_item and trig_record.
    Change your WBP trigger:
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'');
    Pkg1.trig_item := :System.trigger_item;
    Pkg1.trig_record := :system.trigger_record;
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'SET');
    Actually, a When-New-Item-Instance trigger might be better than the WBP trigger, so the same action would occur no matter how the cursor is moved around your form (Using Enter or Tab, or shift-Tab, or scrolling).

  • Form6i cant write arabic charecter in the property pallete

    although i set up the nls_lang to american_america.ar8mswin1256
    form builder can't write arabic in the property pallete ot the item
    but write only in the layout editor preciley
    with bioler only
    please help me to resolve this problem

    Hi,
    Please follow the solutions provided by Nothing123 to check the result.
    If the issue persists, please recreate the discovery mailbox to check the result.
    Here is an article for your reference.
    Re-create Discovery and Other System Mailboxes in Exchange 2010
    http://technet.microsoft.com/en-gb/library/gg588318(v=exchg.141).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Error when trying to edit property pallet of a text item

    HI All,
    I try editing property pallet of a text item for the property 'Formula'
    Extact value in that column is :
    case when :B_tran_item.item_status = 'V' then 0 else round((nvl(:B_tran_item.unit_retail,0) * nvl(:B_tran_item.uom_quantity,0)) - nvl(:B_tran_item.TI_total_item_disc_amt,0), INTERNAL_VARIABLES.GV_curr_rtl_dec_loc) end
    Tried chaning to :
    round((nvl(:B_tran_item.unit_retail,0) * nvl(:B_tran_item.uom_quantity,0)) - nvl(:B_tran_item.TI_total_item_disc_amt,0), INTERNAL_VARIABLES.GV_curr_rtl_dec_loc)
    I got the pl/sql error.
    PL/SQL ERROR 0 at line 2, column 1 statement ignored.
    Please provide your inputs at the earliest.
    Regards,
    Amrutha.C
    Edited by: user604995 on Apr 9, 2012 6:03 AM

    Hi,
    Now its giving, bad bind variable error.
    it doesn't work for me.
    It works fine if i give
    case when :B_tran_item.item_status = 'V' then 0 else round((nvl(:B_tran_item.unit_retail,0) * nvl(:B_tran_item.uom_quantity,0)) - nvl(:B_tran_item.TI_total_item_disc_amt,0), INTERNAL_VARIABLES.GV_curr_rtl_dec_loc) end
    It error out only if remove case
    round((nvl(:B_tran_item.unit_retail,0) * nvl(:B_tran_item.uom_quantity,0)) - nvl(:B_tran_item.TI_total_item_disc_amt,0), INTERNAL_VARIABLES.GV_curr_rtl_dec_loc)
    Regards,
    Amrutha.C
    Edited by: user604995 on Apr 9, 2012 6:43 AM

  • Block Property - Update

    Hi,
    I have a problem with forms dev. 6.0 block property. I have only one master block and no details blocks. And I set want user can update the block but not insert. So i set the properties update and insert, true-false properly. But when i want to update a column in the block it wont let me to update. I check the status of the both properties and there was no change. but still cant solve it. Can u help me please. Thanks.

    i've done it already. I've checked the insert and update properties and theres no change of any property but it still dont let me to update. I looked up to the block triggers and item triggers that any changing procedure but i found nothing.

  • What property/preference sets block property "Update changed columns only"

    Hi, we are wondering how Designer (latest version 10.1.2.4) desides when it generates a form with block property "Update changed columns only" set to Yes.
    Under some cricumstances this property is No in the generated .fmb
    We checked the object library, but the .olb has this property set to No, so Designer overrules it.
    Our goal is to generate all blocks with the "Update changed columsn only" set to No, because we ran in a forms bug that it can't handle Insert statements on blocks with this property set to Yes (ORA-01036). This bug only occurs in the latest forms version 10.1.2.3
    Hope anyone can help to force this property to be No when we want to achieve 100% generation from Designer.
    Kind Regards
    Auke Quist
    Edited by: aukequist on Oct 13, 2008 8:49 PM

    I think that's not possible in designer. You could define a block with this property set in the template form or in the object library. The use this block use the template/library object property in designer.
    Regards Erik

  • Change block property to insert mode

    Can i change the status of block property to insert mode while run time.
    Please help me.
    Vikas

    Yes, see the Set_Block_Property() built-in in the online help.
    Francois

  • How to add a new property security question in atg profile?

    Hi All,
    I want to add a new field in registration.jsp named as Security Questions; it has 3 questions and it should be ordered and cannot contain duplicate values.
    For this I have created
    1) a customUserProfile.xml under /MyModule/config/atg/userprofiling/customUserProfile.xml with the following content-
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
        <!DOCTYPE gsa-template PUBLIC "-//Art Technology Group, Inc.//DTD General SQL Adapter//EN"
            "http://www.atg.com/dtds/gsa/gsa_1.0.dtd">
    <gsa-template>
        <header>
            <name>Registration</name>
            <author></author>
        </header>
        <item-descriptor name="securityquestions">
      <table name="security_questions" id-column-names="securequestions_id">
        <property name="securityquestions" data-type="enumerated">
        <attribute name="useCodeForValue" value="false"/>
          <option value="what is your birth place" code="0"/>
      <option value="what is your favourite colour" code="1"/>
      <option value="what is your pet name" code="2"/>
        </property>
      </table>
    </item-descriptor>   
    2) a definition file under named as /MyModule/config/atg/userprofiling/customUserProfile.properties-
    $class=atg.adapter.gsa.GSARepository
    $scope=global
    repositoryName=customUserProfile
    # database access- for making repositry as versioned, use SwitchingDataSource else use JTDataSource
    dataSource=/atg/dynamo/service/jdbc/SwitchingDataSource
    transactionManager=/atg/dynamo/transaction/TransactionManager
    # our XML definitionFile
    definitionFiles=/atg/userprofiling/customUserProfile.xml
    # XML parsing
    XMLToolsFactory=/atg/dynamo/service/xml/XMLToolsFactory
    # id generation
    idGenerator=/atg/dynamo/service/IdGenerator
    </gsa-template>
    3) a droplet names as /MyModule/src/com/pa/SecurityQuestionLogin.java
    4) a registration jsp with the following code snippet for security questions-
    <dsp:droplet name="SecurityQuestionLogin">
    <dsp:select bean="SecurityQuestionLogin.securityQuestions">
        <dsp:droplet name="PossibleValues">
          <dsp:param name="itemDescriptorName" value="securityquestions"/>
          <dsp:param name="propertyName" value="type"/>
          <dsp:oparam name="output">
            <dsp:droplet name="ForEach">
              <dsp:param name="array" param="values"/>
              <dsp:oparam name="output">
                <dsp:option param="element"/>
                <dsp:valueof param="element"/>
              </dsp:oparam>
            </dsp:droplet>
    But I don't know what logic can I implement in java class for this requirement.
    Is the above structure is right for this purpose,please help!
    Regards,
    Vikas

    Hi Nitin,
    extend ATG userProfile.xml and add properties there in user item-descriptor
    I created userProfile.xml under C:\ATG\ATG10.0.3\MyModule\config\atg\userprofiling with following contents-
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE gsa-template
            PUBLIC "-//Art Technology Group, Inc.//DTD General SQL Adapter//EN"
            "http://www.atg.com/dtds/gsa/gsa_1.0.dtd">
    <gsa-template>
      <item-descriptor name="user" cache-mode="simple" xml-combine="append">
    <table name="security_questions" type="auxiliary" id-column-name="securequestions_id">
    <property name="securityquestions" column-name="securityquestions" data-type="enumerated">
    <attribute name="useCodeForValue" value="false"/>
          <option value="what is your birth place" code="0"/>
      <option value="what is your favourite colour" code="1"/>
      <option value="what is your pet name" code="2"/>
      </property>
    </table>
    </item-descriptor>
    </gsa-template>
    and created userProfile.properties file with following content-
    $class=atg.adapter.gsa.GSARepository
    $scope=global
    repositoryName=userProfile
    # database access- for making repositry as versioned, use SwitchingDataSource else use JTDataSource
    dataSource=/atg/dynamo/service/jdbc/SwitchingDataSource
    transactionManager=/atg/dynamo/transaction/TransactionManager
    # our XML definitionFile
    definitionFiles=/atg/userprofiling/userProfile.xml
    # XML parsing
    XMLToolsFactory=/atg/dynamo/service/xml/XMLToolsFactory
    # id generation
    idGenerator=/atg/dynamo/service/IdGenerator
    and change the jsp code as-
    <dsp:select bean="/atg/userProfiling/Profile.securityQuestions">
        <dsp:droplet name="PossibleValues">
          <dsp:param name="itemDescriptorName" value="securityquestions"/>
          <dsp:param name="propertyName" value="type"/>
          <dsp:oparam name="output">
            <dsp:droplet name="ForEach">
              <dsp:param name="array" param="values"/>
              <dsp:oparam name="output">
                <dsp:option param="element"/>
                <dsp:valueof param="element"/>
              </dsp:oparam>
            </dsp:droplet>
          </dsp:oparam>
        </dsp:droplet>
      </dsp:select>
      </dsp:droplet>
    Have I done right?
    And what else I need to do,should I run the startsqlrepository script to create the table structure for this property?
    Thanks & Regards,
    Vikas

  • Problem in block property (delete allowed)

    hi friends,
    i have created a form having two blocks with non-isolated relation in them. i have set the delete allowed property to true for child block and false for master block. But when i run the form it will not allow me to delet the record from the child block as the delete allowed button appears in disabled form in the toolbar...
    please help in enabling the button so that i can delete the record at runtime for the child block

    which kind of toolbar did you use. selfwritten or oracle-standard ?

  • Is there any power pivot feature similar to" conditional block " property in cognos reports?

    I have a report with multiple power pivot charts. My requirement is to create a prompt which prompts the user with the list of charts and based on his selection , one of the charts will be displayed at a time. ie, user will have a choice for display
    of the chart. and these charts should have a common filter. I am using excel 2013 and SSAS tabular model.
    Could anyone please help me on this
    Thanks in advance

    Hi BLtechie, 
    If you are ok with using VBA (precluding the workbook from functioning correctly within SharePoint in an Excel Web Access web part) then you should be able to adapt the solution here: 
    http://www.mrexcel.com/forum/excel-questions/525495-conditionally-show-hide-charts.html
    Alternatively, if you have a tabular model and access to SharePoint 2013 with Reporting Services Integrated mode running SQL 2012 SP1 CU 4 or higher you could instead create a power view report that used the pinned filters property and simply presented
    each of the pivot charts on named sheets (forming your user's selection choice). 
    http://blogs.msdn.com/b/riccardomuti/archive/2013/05/24/pinning-filters-in-power-view.aspx
    Hope this helps, 
    Mike

  • Setting property pallette

    hi
    how do i set a block or field to be locked and unlocked.
    default property is locked from update or insert
    when u click edit, set insert and update records to yes and change the colour.

    orcnewb wrote:
    how do i set a block or field to be locked and unlocked.What do you mean by locked which property?
    default property is locked from update or insertDefault property of what is locked?
    Do you mean the ENABLED, INSERT_ALLOWED, UPDATE_ALLOWED, properties for the Item and Block
    (There is no ENABLED for block).
    when u click edit, set insert and update records to yes and change the colour.You can set the block properties as :
    SET_BLOCK_PROPERTY ('BLOCK_NAME', INSERT_ALLOWED, PROPERTY_TRUE);
    SET_BLOCK_PROPERTY ('BLOCK_NAME', UPDATE_ALLOWED, PROPERTY_TRUE);
    You can set the block properties as :
    SET_ITEM_PROPERTY ('ITEM_NAME', INSERT_ALLOWED, PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('ITEM_NAME', UPDATE_ALLOWED, PROPERTY_TRUE);
    If you have set ENABLED property of an Item to No in addition to setting the ENABLED property
    you also need to set the NAVIGABLE, UPDATE_ALLOWED and (INSERT_ALLOWED if required) property to True.
    To change the color :
    SET_ITEM_PROPERTY ('ITEM_NAME', BACKGROUND_COLOR, 'r88g100b100');
    Hope this helps.
    Best Regards
    Arif Khadas

  • Message when no data found in set block property

    hi,
    ı use oracle forms 10.1. when ı use the code below
    SET_BLOCK_PROPERTY('MY_BLOCK', DEFAULT_WHERE,     'YEAR=2012') ;
    EXECUTE QUERY;
    if there is records for year 2012 it works fine. Bu if there exists no record ı get message saying no data found. And then it clears the block. I want to clear block with no messages.
    is it possible? thanks...

    Yes. you can add your own message on form level. User ON-MESSAGE trigger and write down the given code :-
    DECLARE
      msgnum NUMBER       := MESSAGE_CODE;
      msgtxt VARCHAR2(80) := MESSAGE_TEXT;
      msgtyp VARCHAR2(3)  := MESSAGE_TYPE;
      ALERT_BUTTON Number;
    BEGIN
      IF msgnum = 40301 then
    --HERE YOU CAN WRITE ONLY NULL-------
    /* SET_ALERT_PROPERTY('ALERT_OK',ALERT_MESSAGE_TEXT,'There are No records available for the Query selected by you  !!! ');
             ALERT_BUTTON := SHOW_ALERT('ALERT_OK');
             RAISE FORM_TRIGGER_FAILURE; */
    null;
    Elsif msgnum = 40355 then
              SET_ALERT_PROPERTY('ALERT_OK',ALERT_MESSAGE_TEXT,msgtxt);
             ALERT_BUTTON := SHOW_ALERT('ALERT_OK');
             RAISE FORM_TRIGGER_FAILURE;
    Elsif msgnum = 40657 then
              SET_ALERT_PROPERTY('ALERT_OK',ALERT_MESSAGE_TEXT,msgtxt);
             ALERT_BUTTON := SHOW_ALERT('ALERT_OK');
             RAISE FORM_TRIGGER_FAILURE;
    elsif msgnum = 40400 then
              message('Operation completed Successfully');
      END IF;
    END;

  • Layers Pallette Question

    I use PSE9 for digital scrapbooking.  Lately, when I have several pictures and elements on the page, I have to click on the Layers Pallette to select an item to move.  If I don't click on another item, the item I have just selected will move when I move my mouse.  I used to be able to click on an element or picture on the page and move it.

    With the Move Tool selected you probably don't have Auto-Select checked in the tool options bar.

Maybe you are looking for