P. 1
Form Codes

Form Codes

|Views: 2,325|Likes:
Published by javeed007

More info:

Published by: javeed007 on Feb 23, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/20/2012

pdf

text

original

Description

Creates a hidden item called REF for this block. This item is used internally to coordinate master-
detail relationships built on a REF link. This item also can be used programmatically to access the
object Id (OID) of a row in an object table.

Applies to

Blocks based on object tables; master-detail REF links, in particular.

Set Form Builder

Default

Default is No. However, when creating a relationship based on a REF pointer, Form Builder sets this
property to Yes.

Required/Optional

Required for a master block in a master-detail relationship based on a REF pointer.

Usage Notes

This REF item is used to obtain the object-ids (OIDs) of the rows in an object table.

Each row in an object table is identified by a unique object id (OID). The OID is a unique identifier for
that row. These OIDs form an implicit column in an object table.

In a REF pointer relationship between two tables, the REF column in the pointing table holds copies of
the OID values (addresses) of the pointed-to table. This forms the link between the two tables.

The Data Block wizard sets this property to Yes and creates this REF item when you build a master-
detail relationship based on a REF pointer. The item is named REF, and is in the master block. It is
not visible to the end user. In addition, the wizard sets the Copy_Value_From_Item property in the
detail block to access this new REF. This is how Form Builder coordinates the master-detail
relationship at runtime.

46

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->