How to create a relationship between two blocks

Oracle forms 6i
Hai All

I've created a form that I have four button ADD, QUERY, SAVE, EXIT.

I have two block named head and members.

Four Chief areas namely block unitid, deptcode, codeno name.

When I pressed the query button, and the cursor goes to the Chief name field when I enter the name of the leader and click

Enter I give the codeno, the deptcode and the unitid of the leader_name.

so now, I created another block in a tabular structure to bring members in the same deptcode that belongs to Leader_name.

So pls tell me the steps how to create the relationship between these two blocks.


When I enter the leader_name and gives enter need to bring the codeno, the deptcode, the unitid and

I also need to give the members of this deptcode...


Thanks in advance

Srikkanth.M

To write, only State a selection:

 :blk2.item = :blk1.item

François

Tags: Oracle Development

Similar Questions

  • How to create a relationship between a Bock DB and not block DB

    Hi all

    I work with form of oracle 10g.

    I created a custom form. I have two blocks. One is a DB block and another block of control (that is to say multi record blk).

    I tried to create a relationship master detail between these two blocks.

    The Master block: LC_Master_BLK (DB Block).

    Detail block: LC_Detail_blk (no DB Block).

    Form object browser I click on the link in the block of master and a pop-up window opens and form there I select details of the block.

    And I give the join as condition

    LC_Master_BLK. PO_HEADER_ID = LC_Detail_blk. PO_HEADER_ID.

    I did po_header_id as primary key in my custom table, refred in my main block.

    But it shows the error
    FRM-15004: error while parsing the condtion of join.

    Can someone tell me how to solve this problem.

    Thanks and greetings
    Srikkanth

    Name of query data Source The block property is required to establish a relationship between the two blocs.
    Without that you cannot set up a relationship between the two blocs.

    In any case

    If you get has managed to implement a relationship b/w blocks providing the Query data Source name property value.
    You can't enjoy with this relationship
    because
    No detail block must store data (as it is a block Non-DB)
    Nor will it extract data from DB.

    Hope you understand this now.

  • How to migrate the relationship between two different epm versions.11.1.1.4 - 11.1.2.3

    Hello, we intend to make an hors-place upgrade to our 11.1.1.4 to 11.1.2.3 environment. The only thing stopping us is the question of how to migrate 11.1.2.3 11.1.1.4 reports. We have already considered the following options

    (1) LCM, LCM is taken in charge only between the same versions are at - it another way.

    (2) I know there is an option to export reports in the workspace, but the disadvantage that is that each report must be exported at the same time (atlease how it is in 11.1.1.4). And we have far too many reports to make them one at a time.

    (3) I have also considered the possibility of replicating data in the repository Directory (HYPERION_HOME\products\Foundation\workspace\data\RM1_Servername) of 11.1.1.4 to be used as the repository directory in the new version, assuming that reports and data analysis means the reports too. However after doing this I have connected to the new environment and could not see any of the reports.

    What other options are there to migrate the reports. Help, please.

    Teddd wrote:

    JohnGoodwin wrote:
    No need to delete tables as databases configured on the vesion as well, if you go to the bottom of the road upgrade data replication then select "Upgrade existing to the current version of 11.1.1.4 databases" when not to configure the database.

    Thanks for the reply of John, I looked at this option. But if I select this option if it does not affect the current 11.1.1.4 environment? Because it is an output level on the spot and we will be maintaining the old environment until we get the new environment to match the old. Thanks again.

    Clone the existing 11.1.1.4 databases, point to the clone.

    Documentation that should be studied - + "You can reuse the data and the existing database, or replicate the database and data to a new machine." +

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to create sharp lines between two text boxes?

    I create a book that is written by several people, and so I want to create a "chapter... author.

    Like this:

    Chapter 1... Jon Doe

    chapter2 ................................. Simon Harper

    so that these points have always the same distance.

    Help, please!

    Well, if your 'chapter' and your 'jon doe' is in the separate text boxes, then there is no easy way to do it. (You could draw a bunch of lines dotted, which isn't difficult, but the only way to standardize manually drag the lines around).

    However, if "chapter" and "jon doe" is in the same text box, separated by a tab character, then it is quite easy. Have you used a ruler before tab? This gives a test:

    (1) type a brief sample in a text area, like the one in your post, but instead of separate columns with points, simply use a single tab

    (2) select all text

    3) go to the Type-> tabs

    (4) I hope it sounds familiar to you (probably from MS Word, or maybe using a typewriter) but otherwise,.

    (4A), click once on the sovereign to insert a tab stop

    4 (b) type a question in the area of 'leader', and

    4 c) press Tab or Enter to confirm

    FYI, it's what you want, a 'leader' or a 'leader of dot. Knowing that he has called a "Chief" will help you find it in InDesign help.

  • How to create the link between the two drop-down lists

    Hi all

    I've created a form in which there are two drop-down lists.

    Let's say a drop-down list contains three elements A, B, C

    and another drop-down list contains three elements, Apple, banana and cherry.

    So, my request is how to create a relationship between these two drop-down lists, so that if I choose 'A' in the 1st drop-down list, Apple will be selected automatically in the 2nd drop-down list.

    Thank you

    Stéphane

    Hi Scott,.

    Niall is great. You can also use a hidden field to update the second drop-down list value.

    The first drop-down list change event script.

    Select var = xfa.event.change;
    var Items = List1.resolveNode("#items[0]").nodes;
    for (var i = 0; i)
    {
    if(Select == items.) Item (i) .value)
    {
    break;
    }
    }

    If (List1.Length > 1)

    {

    var Items_List2 = SecondDropdownlist.resolveNode("#items[0]").nodes;
    HiddenTextField.rawValue = Items_List2.item (i) .value;
    SecondDropdownlist.rawValue = HiddenTextField.rawValue;

    }

    Thank you

    Sidonie.

  • Can we create an association between two objects in view?

    Mr President.

    Can we create an association between two objects in view?

    I want to create an association between two objects, so that when I navigate between the first object and its corresponding data vo are also changed.

    Concerning

    Tender,

    You create ViewLinks for this. The Association is FRO EO.

    See the link for how to create a ViewLinks below.

    Oracle ADF - tips and Techniques: ADF Model: link building

    To create the Association of the entity:

    Oracle ADF - tips and Techniques: ADF Model: creating entity Association

    See you soon

    AJ

  • How to center the object between two guides (or a guide to the edge of the artboard)

    Simple question: How can I Center an object between two guides or between a fence and the edge of the artboard?

    Chris,

    You can (guides are your friends):

    (1) create a rectangle between two Guides or between the fence and the edge of the artboard by ClickDragging with the Rectangle (desired penalty) tool on a (location) on the other Smart Guides say path/path or page/path when you're there;

    (2) select the two rectangle of 1) and the object, and then click the rectangle, and then use the options in the align palette.

    Who should move your object in the Center in the direction you choose.

  • How to find the relationship between the tables

    Hello
    I am working in Oracle R12

    How to find the relationship between these tables INV_MIN_MAX_TEMP, po_requisition_lines_all and Per_all_people_f

    These two tables, I joined with po_requisition_lines_all and Per_all_people_f To_person_id of PO and anyone HR table but I can't able to join this table with other tables INV_MIN_MAX_TEMP

    concerning
    Srikkanth

    solved

  • two relationships between two tables

    Hi all

    I created a cube in my db (using OWB) of two relationships to my time dimension. A relationship shows the start time of a process, that the other represents the date of termination or end.

    example of the cube:

    Fact1
    Fact2
    Dim_Time1
    Dim_Time2

    where Dim_time1 and Dim_Time2 link to the same dimension.

    Unfortunately I have trouble this manually import in obiee administrator. I imported the fact table and the dimension of the physical layer table. Can I move to the business layer and create the two joins between two tables. But the overall consistency check up a mistake, I shouldn't have two relationships between two tables and remove a foreign key.

    What I am doing wrong?

    Kind regards

    Knut

    Knut,

    In your example, you should have a time dimension in the phyiscal layer and alias of this 2 x, for Dim_time1 and for Dim_time2, in this way aliases are separate tables as the BI server point of view and you define releations separate on the same table, you can define specific to each alias dim relevant time joins.

    In this way, you will have two time decreases intensity in MDB layer also, has 'Dim-Start Time' and a ' Sun - term time "or similar.

    Hope this helps,
    Alastair

  • Use a where clause clause if there is a relationship between two tables

    Is it possible to use a where clause clause if there is a relationship between two tables.
    I have a relationship between two tables:
    And a.customer = b.customer (+)

    If b.customer exists in a.customer I would add this in where clause
    And b.info = 'X '.
    But how?

    It's the outer joins by chance?

    If so, why not just:

    and  b.customer(+) = a.customer
    and  b.info(+) = 'X'
    

    BTW, I put the two "b" on the left column to make it easier to read. Some people mix that makes me crazy, but makes no difference to the query.

  • How to create a JPEG of two JPEGs placed side by side?

    How to create a JPEG of two JPEGs placed side by side?

    Oh... Thank you very much SO!

    Philippe

  • How to remove a path between two anchor points

    Hello

    everything is in the title,

    could you tell me please how to remove a path between two anchor points without using the tool Eraser path?

    When I select these two folders and press to remove all disappeared.

    PS: I want to keep the anchor after the removal

    Thank you

    with the Selection tool direct (white pointer), click the path segment (no points) or select slide above without going on something else and tap on delete.

  • How to create a table with two unique columns

    How to create a table with two unique columns. I use the following syntax below and I get the error message such unique or primary key already exists.

    create the table COPQ_WORKCELL_GOAL
    (
    Type_id varchar2 (4) NOT NULL UNIQUE,
    Tyle_Location varchar2 (30) NOT NULL UNIQUE,
    Type_Description varchar2 (20).
    KEY elementary SCHOOL (Type_id)
    );

    Use 1 or the other column type_id;

    create table COPQ_WORKCELL_GOAL
    (
      Type_id varchar2(4),
      Tyle_Location varchar2(30) NOT NULL UNIQUE,
      Type_Description varchar2(20),
      PRIMARY KEY (Type_id)
    );
    
    Table created
    drop table COPQ_WORKCELL_GOAL;
    
    Table dropped
    create table COPQ_WORKCELL_GOAL
    (
      Type_id varchar2(4) primary key,
      Tyle_Location varchar2(30) NOT NULL UNIQUE,
      Type_Description varchar2(20)
    );
    
    Table created
    
  • How to fill out (display) values for several blocks in which there is no relationship between the blocks (tables).

    Hello.

    Is it possible to fill in the values (execute_query) several blocks where there is absolutely no relationship between the tables in the same form?

    There is no relationship between the tables. All are separate tables with different columns. None of the names of columns match

    & also the values of the columns do not match. I created blocks for all tables. When I click on run, only the first block of values (first picture) is filled.

    other values of block did not get filled. Is it possible to fill in the values for all of the blocks where there is not relationship, or when there is no master block?

    Is there something I can do for this? It is mandatory for me to put all the blocks in a single form.

    Help me, please. Please do not respond.

    Thank you.

    Create a key-EXEQRY-trigger on the block where 'throw you' the quers. In it, put something like

    GO_BLOCK ('BLOCK1');

    EXECUTE_QUERY;

    GO_BLOCK ('BLOCK2');

    EXECUTE_QUERY;

    ...

  • How do a link led between two forms that independently of moving

    Hi all

    I am looking for many tutorials how to create something like this:

    http://turbulence.org/works/MyPocket/graph/

    (the video is on the right)

    But could not.

    I have for each shape, I do 2 circles (move separately) and between them, making a shape that works as a link, related on each circle on the sides... is it clear? I need the link to 'stretch' and follow the two circles...

    Do you know if there is a way?

    Thanks in advance

    m.

    Use something like this technique from an old blog post, I did years ago:

    I created a layer named string and a layer called Kite. I drew a mask on the layer of string that forms a gentle arc, added the effect of outline with a width of 3 pixels and paint on Transparent selected. The race goes from the left edge to the right edge of the layer in the chain, and it is important. The string layer is slightly narrower than the model to make it easy to work with. The last step with the layer of string is to move the anchor point to the left most vertice point of the mask at exactly a value X 0. It is also important. The two layers are converted to 3D.

    The Kite layer is simply a square solid with a mask in the shape of the kite and the anchor point where is used the string.

    The following terms are added to the string layer:
    String scale:

    point1 = position;
    point2 = thisComp.layer("Kite").position;
    L = length(point1, point2);
    w = thisLayer.width;
    r = L/w*100;

    [r, value[1], value [2]]

    String Orientation:

    t = thisComp.layer("Kite");
    l = thisComp.layer("String");

    fromPoint = l.position
    atPoint = t.position
    lookAt(fromPoint, atPoint)

    If you look closely the language, you'll see that I'm calculating the distance between the anchor and then dividing the difference in the width of the layer and multiplying that number by 100 to arrive at a scale factor to make the string layer is always the same length as the distance between the end of the chain and the kite. The part of the Orientation of the expression simply indicates the string to the wing. There is a problem which must be overome. The string layer is perpendicular to the wing and this part is important, the rotation must be changed to-90 to get things to normal. This isn't another expression, it's just a value that you put in.

    The kite layer also needs an expression to point the wing at the end of the string. The expression of the orientation of the kite is basically the same as the string Orientation expression with definitions for the to and the reverse point. It looks like this:
    Kite Orientation:

    t = thisComp.layer("String");
    l = thisComp.layer("String");

    fromPoint = t.toWorld(position);
    atPoint = l.toWorld(thisComp.layer("String").anchorPoint);
    lookAt(fromPoint, atPoint)

    Now the kite can be moved and the string will follow.

    Here's the project file

    Here is a movie.

Maybe you are looking for