* launch the foxfire report generator with incoming userID LPARAMETER tcParameter LOCAL lcUserID * condition parameter lcUserID = IIF(VARTYPE(tcParameter) <> "C", "", tcParameter) * set up environment SET TALK ON SET SYSMENU TO * don't allow closing fox window (could be done better) _SCREEN.Closable = .F. * run foxfire DO ("FOXFIRE.APP") WITH "REQUESTS", lcUserID, "", "FFCONFIG"3. Compile this into FFLAUNCH.EXE and make sure a copy is located in the FF60 folder beneath your app.
* exec the new foxfire launch program passing the userid LOCAL lcExec * change dirs down into FoxFire folder CD FF60 * build launch line lcExec = "RUN /N3 FFLAUNCH.EXE " + TRIM(goApp.oUserMgr.cUserID) * launch foxfire &lcExec * cd back up to application directory CD ..As you can see, this code will change directories down into your FF60 folder and execute the launch program passing the current user ID. If you set up the users in both the MM app and the FoxFire app, they won't have to log into FoxFire.