STD.File.RemoveFileRelationship( primary, secondary, [ , primaryfields ] [ , secondaryfields ] [ , relationship ]);
primary | A null-terminated string containing the logical filename of the primary file. |
secondary | A null-terminated string containing the logical filename of the secondary file. |
primaryfields | A null-terminated string containing the name of the primary key field for the primary file. The value "__fileposition__" indicates the secondary is an INDEX that must use FETCH to access non-keyed fields. If omitted, the default is an empty string. |
secondaryfields | A null-terminated string containing the name of the foreign key field relating to the primary file. If omitted, the default is an empty string. |
relationship | A null-terminated string containing either "link" or "view" indicating the type of relationship between the primary and secondary files. If omitted, the default is "link." |
The RemoveFileRelationship function removes a file relationshuip between the primary and secondary files.
Example:
STD.File.RemoveFileRelationship('names', 'inquiries');
See Also: AddFileRelationship