RemoveFileRelationship

STD.File.RemoveFileRelationship( primary, secondary, primaryflds, secondaryflds, kind )

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