>So in production, I have a function in my .exe main.prg, and I have a function with the same name in the Stored Procedures (in the currently selected database). Calling TheFunction() will run out of the Stored Procedures first?
>
That I don't know for sure, but I believe so. In general though, I think it's a bad idea to have to functions/procs with the same name. If you are worried about naming conflicts, you might try giving the SP function a prefix to differentiate it.
Erik Moore
Clientelligence