FoxLearner
Programmer
Hi All
While trying to execute a NewObject, I am getting an error message "Function Name is missing)". The code is like this.
lcObject = [oCMMRate]
lcObjRef = [CMMRate]
lcObjPath = [c:\newproj\CMMRate\CMMRate]
lcObject = NEWOBJECT(&lcObjRef, &lcobjPath)
When I used hardcode
oCMMRate = NEWOBJECT("CMMRate","c:\newproj\CMMRate\CMMRate"
it is working fine.
Actually I am using it in a FOR loop, where I want to get the names of Tables from an Array and Create dataObjects.
Can you please tell me where I am wrong?
Thanks and Regards
FoxLearner
While trying to execute a NewObject, I am getting an error message "Function Name is missing)". The code is like this.
lcObject = [oCMMRate]
lcObjRef = [CMMRate]
lcObjPath = [c:\newproj\CMMRate\CMMRate]
lcObject = NEWOBJECT(&lcObjRef, &lcobjPath)
When I used hardcode
oCMMRate = NEWOBJECT("CMMRate","c:\newproj\CMMRate\CMMRate"
it is working fine.
Actually I am using it in a FOR loop, where I want to get the names of Tables from an Array and Create dataObjects.
Can you please tell me where I am wrong?
Thanks and Regards
FoxLearner