Xbasic
LINK Function
Syntax
Key_Value as C = LINK([C tablename])
Arguments
- tablename
The name of a table. The extension ".dbf" is assumed.
Description
Returns the linking key given the name of a child table.
Discussion
If the current table is the primary table in a set, LINK() returns the linking key value that relates it to the specified Child_Table_Name table.
Example
link("INV_ITEM") -> P1001, if the value of the key that links the parent to the child table INV_ITEM is "P1001"
See Also