We have a form in our app that allows the user to enter a rate calculation formula using a subset of VFP commands. We then pass this formula to EXECSCRIPT to get a result.
In the past we had a client with a certain formula that uses NEWOBJECT to instantiate a class within our app, and this used to work like a charm. Here was the general idea:
NEWOBJECT("cClassName", "cClassLib", ALLTRIM(Application.ServerName))
For whatever reason, this is now causing an Invalid File Descriptor error when attempting to validate the formula. If I remove the 3rd parameter, it validates. If I then re-insert the 3rd parameter above, the formula will actually validate. It's the first validation attempt that causes the error.
Any ideas?
Jon Rosenbaum
Devcon Drummer