This code (in the composite procedure) seems to be the source of the problem:
let lvArray = "JointStats,RothStats"
openfile IntermediateDbPath + fileName
field 2 emptyfill fileName[1,-6]
All variables have been declared and values have been assigned. The message statement is executed for the first element of the lvArray but the procedure stops with AccountStats in front and frozen (it is summoned by the
window statement) - I have to quit. I had commented out all but the most basic code and it made no difference.
But the identical code runs perfectly in the two-procedure model.
I’ll try putting the procedures into a new database and see if that helps.