When a file launches, the Initialize ends by opening a form. The form has several embedded variables that show values pulled from other files that are set as Auxiliary files.
With Initialize previously ending with a ShowVariables to display those values, they continued to show as not existing. (their un-intialized values). I found that by adding a procedure to the Form Event, the variables could be updated and it worked perfectly. Voila!
But it only works when the file is launched before the Auxiliary files are opened. If this one file is closed then re-opened with the Auxiliary files having been left open, I get an Initialize error: “parameter( function: Current procedure was not called as a subroutine.”
The error comes up whether I have the Form Event call a procedure or simply enter ShowVariables X,Y,Z…
It’s also independent of whether the file is shared or not.
Is there some way to get this to work? FWIW, I’ve tried a few error handling techniques but they all get the error too.