Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Set_MFS subroutine ====== ==== Description ==== Programmatically attach Modifying Filing Systems (MFS) to specified tables. ==== Syntax ==== **Set_MFS**(//tablename//, //mfslist//, //action//) ==== Parameters ==== The Set_MFS subroutine has the following parameters. ^Parameter^Description^ |//tablename//|Table to which to attach the MFS.| |//mfslist//|One or more (in a list) MFS to add to or remove from the table.| |//action//|Action to take, regarding the MFS list:\\ \\ 1 - Add the MFS list to the end of the chain (just before the Base Filing System (BFS).\\ 2 - Add the MFS list to the beginning of the chain.\\ 3 - Add the MFS list to as close as possible to the front of the chain (just after such system MFSs as PROTECT.MFS and SI.MFS).\\ 4 - Replace the MFSs currently attached to the table, with the list passed in //mfslist//.\\ 5 - Remove list passed in //mfslist//, from the table.\\ 6 - Remove all MFSs from the table.| ==== See Also ==== [[define_database|Define_Database]], [[chapter_mfs|Chapter 8: Modifying Filing Systems]], [[installing_an_mfs|Installing an MFS]] ==== Example ==== <code> /* Adds RIGHTDEX.MFS to the CAR_ORDERS table, placing it just after system MFSs, in precedence. */ Set_MFS("CAR_ORDERS", "RIGHTDEX.MFS",3) If Get_Status(ErrCodes) Then GoSub ErrorHandling End </code> guides/programming/programmers_reference_manual/set_mfs.txt Last modified: 2024/06/19 20:20by 127.0.0.1