Hi, I have a procedure which has been written and tested, and all appears to be fine, however I want to use this as an internal procedure, but as soon as it is called as an internal procedure I'm getting different results.
I've even broken it down and tested the following scenario. Create the procedure in the procedure editor and run the procedure, note results. Then added the following:
Run pr-voids. -- At the top of the file after the definitions
Then enclosed the rest of the procedure in:
PROCEDURE pr-voids.
END PROCEDURE.
Then run it again, again the same static database, yet have ended up with different results. Does an internal procedure act/execute any differently? I've used similar methods before and never had this problem.
Any help would be greatly appreciated.
I've even broken it down and tested the following scenario. Create the procedure in the procedure editor and run the procedure, note results. Then added the following:
Run pr-voids. -- At the top of the file after the definitions
Then enclosed the rest of the procedure in:
PROCEDURE pr-voids.
END PROCEDURE.
Then run it again, again the same static database, yet have ended up with different results. Does an internal procedure act/execute any differently? I've used similar methods before and never had this problem.
Any help would be greatly appreciated.