Foundation 6

Fnd_Reltd

5 shared methods.

Fnd_Reltd_GetManyKeys

Fnd_Reltd_GetManyKeys (table pointer; array pointer) --> integer

Fills array $2-> with the primary keys of related many tables to table $1-> Returns the number of related many associations for table $1->

ParameterTypeDirectionDescription
tablePointerinTable Pointer
primaryKeysArrayPointerinPrimary keys of related many tables
ResultIntegeroutthe number of related many associations

Fnd_Reltd_GetOneKeys

Fnd_Reltd_GetOneKeys (table pointer; array pointer) --> integer

Description Fills array $2-> with the foreign keys (source of related One relations) for table $1-> Returns the number of related one associations for table $1->.

ParameterTypeDirectionDescription
tablePointerinTable Pointer
relatedOneKeysArrayPointerinRelating keys of related one tables
ResultIntegeroutthe number of related one associations

Fnd_Reltd_Info

Fnd_Reltd_Info (label) --> Text

Returns requested information. See the Fnd_Gen_ComponentInfo method for more information.

ParameterTypeDirectionDescription
requestTextinInfo desired
ResultTextoutResponse

Fnd_Reltd_SetName

Fnd_Reltd_SetName (table pointer) --> text

Returns the special Related Set Name for table ($1)

ParameterTypeDirectionDescription
tablepointerinPointer to a table
ResulttextoutSet Name

Fnd_Reltd_ShowSet

Fnd_Reltd_ShowSet (table Pointer {; Set Name to Use})

Create and show the proper related set for table $1 Use the current selection unless $2 is given.

ParameterTypeDirectionDescription
relatedTablePointerinTable pointer
setToUseTextinA set name to use