[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== MFS initialization in Open Insight (OpenInsight Specific) ==== === At 15 SEP 1999 10:42:21PM Peter Lynch wrote: === {{tag>"OpenInsight Specific"}} I am evaluating OI and am perplexed by the behaviour of an MFS. It works just fine when it works, but when it does not work it is as if it does not exist at all. I find that the MFS does not work until I have run the SET_MFS process each time I log in. The weird thing is that I have to run SET_MFS twice for each file on which the MFS is deployed. Like this - SET_MFS("OUR_ESCAPE_INSERTS", "OI.INSERT.MFS", "5") which runs successfully - i.e. it successfully removes the MFS then SET_MFS("OUR_ESCAPE_INSERTS", "OI.INSERT.MFS", "3") which successfully installs the MFS (which was just removed) The MFS then runs successfully. If I do not remove and install the MFS it does not work. Any suggestions? ---- === At 30 NOV 1999 04:51AM R.Spiegel; Cosmotron Systems wrote: === we are using 3 MFS's written originally for AREV and they works ok in OI; only difference I discovered and I needed to modify the source code is, that in AREV the INIT of the MFS is called only the time the first table is attached, in OI the INIT part is called after each table is attached - so if the MFS uses COMMON variables which are initialised in INITm then they will be destroyed after each table attach R.Spiegel Cosmotron Systems ---- === At 30 NOV 1999 07:56AM amcauley@sprezzatura.com onmouseover=window.status=why not click here to send me email?;return(true)", [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Group[/url] wrote: === This sounds as though you are not saving the database definition after adding the MFS so it does not get included in the dbt. Check out the docs on DEFINE_DATABASE. amcauley@sprezzatura.com [url=http://www.sprezzatura.com" ]Sprezzatura Ltd[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=18971EFACF26824D852567EE000EDD3A|View this thread on the forum...]]