Creating a relation between fields

This is my first use of Acrobat & Designer and I am having difficulty.
I want to create a relationship between a check-box field and a drop-down list field. I would like a specific value in a drop-down list to be shown when an adjacent check box field is selected.
I am not familiar enough with script writing to figure it out. I can't find any reference to such an option. I am sure someone much smarter than I must know the answer.
Also, is there a good reference book out there for LiveCycle Designer?
Thanks.

Dallas,
You can use the following script to do that:
if (CheckBox1.rawValue == 1){
DropDownList.rawValue = "CA";
}else DropDownList.rawValue = "AL";
What you need to do is for all the values in you drop down list, in the binding tab you need to assign values by clicking specify item values. So for my case above say I have a few countries listed, the item value for Canada in my drop down list is CA. So if my heckbox is ticked it will show Canada, if not it shows Albania and so on.
Does that make sense?
Here is a link to the LiveCycle Designer Developer Center where you will find some usefull documents and samples that will help get you started: http://partners.adobe.com/public/developer/livecycle/designer/devcenter.html
Check out the Adobe XML form object model document on there.
Catherine
Adobe Systems

Similar Messages

  • How to create an relation between two block

    Oracle forms 6i
    Hai All
    I have created a form in that i have four button ADD, QUERY, SAVE ,EXIT.
    I have two block named Leader and members.
    Four fields in leader block namely name , codeno, deptcode, unitid.
    When i pressed query button and the cursor goes to name field in leader when i enter the name of leader and click
    enter i gives the codeno, deptcode and unitid of the leader_name.
    so now i have created another block in tabular structure to bring the members in the same deptcode that belongs to Leader_name.
    So pls tell me the steps how to create the relation between these two blocks.
    when i enter the leader_name and gives enter it needs to bring the codeno, deptcode, unitid and
    I also need to gives the members in that deptcode..
    Thanks In Advance
    Srikkanth.M

    If it is possible to create relationship with one table No.
    Or
    I have created a pre-Query in the detali block and my code is
    set_block_property ('block_name', default_where, 'deptcode = (select deptcode from emplmaster where name like :block_in_which_leader_name.leader_name_field');BTW no need of joining here it can be solve by set the block's where clause as u said in ur earlier post above. Just changing the little bit this statement and then try.
    If numeric
    set_block_property ('block_name', default_where, 'deptcode = '||:block_in_which_leader_name.leader_name_field);
    Otherwire
    set_block_property ('block_name', default_where, 'deptcode = '''||:block_in_which_leader_name.leader_name_field||'''');-Ammad

  • Creating a Relation between two Blocks - the Join Condition [SOLVED]

    Hi. I'm trying to create a Relation between my TTMS_Audit table and my Bundle_Exceptions table. This is the join condition:
    ttms_audit.primary_key_values = bundle_exceptions.project_cd||','||bundle_exceptions.bundle||','||bundle_exceptions.exception_cd
    And I get the following error:
    FRM-15004: Error while parsing join condition
    Does anyone know if my concatenated values in the Join Condition are allowed? Can I even do this? Is there a logical work around?

    Got it.
    I first created the concatenated values as a non-base table item on my form:
    :NBT_PRIMARY_KEY_VALUES := :bundle_exceptions.project_cd||','||:bundle_exceptions.bundle||','||:bundle_exceptions.exception_cd;
    Then my join condition simply became:
    ttms_audit.primary_key_values = bundle_exceptions.nbt_primary_key_values

  • How to create a relation between to tables

    hi all
    i have two oracle database:one is oratest(sourse),the other is orawh(destination).
    i have a table named hr.jobs in oratest,and a table named hr.test in orawh.
    now i want to create a relation between these two tables to make them synchronized.But i have no idea how to deal with such a case.
    somebody help me please,thanks a lot!!
    Best regards!

    You can use DML_HANDLERS at the apply side and manipulate the LCR's so that when data is inserted on TABLEA at source it can inserted in TABLEB at target.
    More information on DML Handlers are available at oracle documentation.

  • Creating a master-detail relation between a view and a table

    Hi all,
    I have a problem with creating a master-detail relation between a database-view with lots of customer data and a small table with per customer a list of entities of our companies who may work for that customer.
    Somehow I seem to be unable to create a relation between these two. I can't find where I can make a foreign key using Toplink to implement the relationship. And neither can I get a Viewlink object doing the job using ADF Business Components.
    Somebody any suggestions on this problems?
    Regards,
    Birgit

    There is a key relationship between two fields which form the primary key in the main table of the view and two fields in the second table.
    I created a viewlink manually, but I still couldn't get the data correct i.e. a form with one record of a customer from the main view and a small table with all entities of our company who can make performances for that customer.
    I tried to find a manual or a how-to on this topic but I didn't find anything helpfull yet.
    Regards,
    Birgit
    After a couple more tries, I got the master-detail working. With all the fiddling I am not sure what caused the problem but I think the finally action was checking which fields of the view were marked as primary keys.
    Now everthing is up and running.
    Birgit
    Message was edited by:
    user492355

  • Create relation between two blocks which are based on different procedure

    Hiii
    How to create relation between two blocks which are based on different stored procedures in Oracle form??
    Pradhyumn Sharma

    hiii,
    I selected the common key deptno in both procedure.
    I created a relation between both procedure. but when i compile the form it give an error in ON-CHECK-DELETE-MASTER. My procedure are
    ==================================
    PACKAGE emp_pkg AS
    TYPE emprec IS RECORD(
    empno asg_emp.empno%type,
    ename asg_emp.ename%type,
    job asg_emp.job%type,
    sal asg_emp.sal%type,
    deptno asg_emp.deptno%type);
    TYPE emptab IS TABLE OF emprec INDEX BY BINARY_INTEGER;
    PROCEDURE empquery(block_data IN OUT emptab, p_deptno IN NUMBER);
    end;
    ====================================
    PACKAGE dept_rec IS
    type rec is record(dname asg_dept.dname%type,
         loc     asg_dept.loc%type,
         deptno asg_dept.deptno%type);
    type deptrec is table of rec index by binary_integer;
    PROCEDURE dept_rec1(block1 in out deptrec);
    END;
    ===================================
    In ON-CHECK-DELETE-MASTER
    CURSOR BLOCK9_cur IS
    SELECT 1 FROM dept_rec.dept_rec1 d
    WHERE d.DEPTNO = :BLOCK6.DEPTNO;
    identifier dept_rec.dept_rec1 must be declared.
    Regards
    Pradhyumn

  • How to create the reation between two tables without creating relation

    Hi,
    I have three tables.( A,B and C)
    I created relation between A,B and A,C.
    I want to create the relation between B,C without using realtion in oracle forms.
    Please do the needful.

    ok, now i understand your problem. It is a case of one-many-many relation between three blocks.
    In this situation what i personally follow that - save records in between when it ask for a commit. And i shall advice you to follow that only. This is the safe and easy method.
    Otherwise,
    1> make your third block a non-database block.
    2> When finish entering/modifying each data set related to 2nd block - insert/update/delete the data grammatically into a temporary table. and after that clear the 3rd block.
    3> you need to reload the record in 3rd block from the temporary table when you move to a record of 2nd block that has already been entered.
    4> now when you finally commit your form the insert/update/delete record from the temporary table into the final 3rd table.
    Now follow which ever steps is suitable for you.
    Regards,
    Tarun

  • Relation between temp tablespace and index creation

    Hi,
    I have my Oracle database (11gR1) on windows 2008 server R1 64 bit..
    This is my development database. i have one table which has more than 2 billion rows , the problem i m facing here is while creating the index on this table i m getting temp segment error , while my temp tablespace size is 32 gb.
    Here my doubt is :
    1.What will happen in temp tablespace when index is created ? Relation between temp and index creation ?
    2. how to create the index on a huge table?
    3. What is the meaning og logging and no logging in INDEX creation .
    4. how can we over come for these kind of problem and manage the temp TS..
    Thanks & Regards,
    Vikash Chauradia

    add another tempfile?
    1.What will happen in temp tablespace when index is created ? Relation between temp and index creation ?
    index creation needs sort. how much depends on the size of the index.
    2. how to create the index on a huge table?
    create an interim (temporary? :)) huge temporary space for the very purpose.
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/indexes003.htm#i1006643
    3. What is the meaning og logging and no logging in INDEX creation .
    nologging means you the creation isnt in the logs so if you need to recover you cant get back to it. when using nologging in a prod env you might do it for performance during a period of heavy dml such as a large index creation and then backup afterwards. common enough.
    4. how can we over come for these kind of problem and manage the temp TS..
    current tempspace size =X
    is X big enough? if yes, cup of tea, if no, make X bigger.
    It doesnt matter what X is.

  • Set a relation between two or more images

    Is it possible to create a relation between two or more images?
    For example: We have an image in three versions (rgb, cmyk, gray). If I find one of these, I would like to klick on a button like "show correspondend images". So I can see all versions of this images we ever saved.
    Any idea?
    Best regards!
    Roman

    I don't think Lightroom handles cmyk images.
    For rgb and gray, you can stack the images, or make the gray from a virtual copy of the rgb. In this way, simply unstacking the images results in your requested "show corresponding images".

  • Relation between non-database data blocks?

    Hi all,
    I'm using Oracle Forms Builder 10GR2. I have two data blocks and i want to create a relation between them. They aren't database blocks and when i tried to create a relation between them based on a join condition/joining 2 display items/ i received the error :
    FRM-15004: Error while parsing join condition.Any ideas?
    Thanks in advance,
    Bahchevanov.

    Andreas Weiden wrote:
    As far as i know you cannot create relationships between non-db-blocks (or maybe you can create them, but they will not work).Hi
    Oh yes u can for query purposes only e.g. suppose i have dept table and emp table created Master Block as non-db dept_no & Dept_name and a Detail_block with emp tabel and a dept_no as a foreign key ...
    1. we either set up a form relation ship between the two blocks - if we want the user to retrieve data only -
    2. or we use copy value property in the dept_no item in the detail block to get the copied value from the dept_no of the master to the dept_no of the detail
    3.While the user entered or select the dept_no in the Master Block then Press Entered here comes the role of the WHEN-BLOCK-INSTANCE Trigger
    GO_BLOCK('DEATIL_BLOCK_NAME');
    EXECUTE_QUERY;Here the data will be displayed in the detail block accordingly ...
    So the relation here played the role of the Where Statment or the default where to filter the displaing of data in the Detail Block according to the Master Block
    Regards,
    Amatu Allah.

  • DBAdapter Creating Relations between tables not having PF-FK relationship

    I am writing a process which has to pull data from three tables.
    SELLER_HEADER (inv_Num is Primary Key)
    SELLER_LINE_ITEMS ( no PK but has inv_num and line_number which together are unique)
    BUYER_LINE_ITEMS (no PK but has cust_num, cust_PO_num and line_num that are unique)
    I want to create a DB Adapter which would take in an invoice number, customerNumber and customerPONumber
    and fetch me data whose XSD is roughly in this structure
    One Node of Type Header
    ---- Column 1 of the Header Table
    ---- Column 2 of the Header Table
    ---- Column 3 of the Header Table
    ... and so on
    Multiple Nodes of
    ---- Column 1 of the Seller Table
    ---- Column 2 of the Seller Table
    ---- Column 3 of the Seller Table
    and
    ---- Column 1 of the Buyer Table
    ---- Column 2 of the Buyer Table
    ---- Column 3 of the Buyer Table
    I tried some combinations and found that if you have a 1:M mapping for Header - Seller Line Item
    and a 1:1 mapping between Seller Line Item and Buyer Line Item then i get the desired XSD
    So, I created a 1:M relation between header and Seller lineItems. However i cannot create a one to one mapping between Seller Line Items and Buyer line items. Nor can i create a 1 :M mapping between Seller Header and Buyer Line Items. That is why the generated XSD shows
    <SomeCollectionName>
    <SellerHeader>
    <BuyerLineItems>
    <SellerLineItems>
    </SomeCollectionName>
    Any pointers for this? How do i make a relation based on the input values to the DBAdapter

    Does the CORE_BUSINESS schema have REFERENCES and SELECT privileges on the table you are trying to reference with the foreign key constraint?

  • Nested Skip Logic: How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?

    How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?
    (This question was asked also in 2012 and 2013, but no answer has been provided.)
    THANKS
    Deborah

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • Create relations between rooms

    hello,
    how can i create relations between rooms?( for example a sub project)
    thx
    any helpfull answer will be rewarded

    HI
    navigate to your room then in detailed navigation you can find admin :room .click on this
    then in tab room parts  you need to add admin:room relation part template.
    now u can able to relate rooms.
    this is the standard procedure.
    the problem is that now if i add a relation to a room, that relation apears in every room that i have.
    is this normal?
    this is not normal according to me
    Regards,
    Vijay.

  • Relation and field ( or relational field) between VBRP + VBAP

    hi all,
    can anyone pls tell me the  relation and field ( or relational field)between VBRP + VBAP

    Hi,
      U can make use of VBFA  (Sales document flow)table for this.
    If you have the billing document number and item then provide them in the subsequent document (VBELN) and item(POSNN) fields of VBFA table and provide the preceding doc category as 'C' to get the sales order information.
    Similarly if u have the sales order number and item then pass them to the preceding doc and item fields of VBFA and pass the subsequent doc category as 'M' so that u will get the billing doc number.
    thasnks and regard

  • Function module to create relation between Territory and account

    Hi gurus,
    Can anyone please suggest me a FM to create a relationship between Territory and account.
    Thanks in advance.
    Edited by: fardeen_shad on Jul 23, 2010 5:46 PM

    Hi Gade,
    In that case I think you can simply do it by writing a routine.
    RESULT = CALDAY1 - CALDAY2.
    Regards.

Maybe you are looking for