RemoveFileRelationship

STD.File.RemoveFileRelationship( primary, secondary, [ , primaryfields ] [ , secondaryfields ] [ , relationship ]);

primaryA null-terminated string containing the logical filename of the primary file.
secondaryA null-terminated string containing the logical filename of the secondary file.
primaryfieldsA 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.
secondaryfieldsA null-terminated string containing the name of the foreign key field relating to the primary file. If omitted, the default is an empty string.
relationshipA 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