Deletes a specified link from a record in a table.
Record.DELETELINK(ID) |
Parameters
- Record
- Type: Record The record that contains the link to delete.
- ID
- Type: Integer The ID of the link to delete.
Remarks
When you add a link to a page or a table, an entry is created in the Record Link system table. Each entry is given an ID.
Example
The following example removes the link that has link ID 20 from the MyRecord record (record number 30000) in the Vendor table. This example requires that you create the following variable in the C/AL Globals window.
Variable name | DataType | Subtype |
---|---|---|
MyRecord | Record | Vendor |
Copy Code | |
---|---|
MyRecord.GET('30000') MyRecord.DELETELINK(20) |