11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Join Condition property<br />

Description<br />

62<br />

Defines the relationship that links a record in the detail block with a record in the master block.<br />

Applies to relation<br />

Set <strong>Form</strong> <strong>Builder</strong><br />

Required/Optional required for a relation object<br />

Usage Notes<br />

You can specify a join condition with the following entries:<br />

• an item name that exists in both the master block and the detail block (block_2.item_3)<br />

• an equating condition of two item names, where one item exists in the master block and the other<br />

item exists in the detail block<br />

• a combination of item names and equating conditions<br />

Join Condition restrictions<br />

• Maximum length for a join condition is 255 characters.<br />

Join Condition examples<br />

Examples:<br />

To link a detail block to its master block through the ORDID text item that is common to both blocks,<br />

define the following join condition:<br />

ORDID<br />

To link the detail block to its master block through a number of text items, define the join condition as<br />

follows:<br />

block1.item1 = block2.item1 AND block1.item2 = block2.item2<br />

Keep in mind that the join condition specifies the relationship between the items in each block, not<br />

between the columns in the tables on which those blocks are based. Thus, the items specified must<br />

actually exist in the form for the join condition to be valid.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!