On Tue, Jan 14, 2014 at 1:26 PM, < [email protected]> wrote:
> On 2014-01-14 14:22, M Jarvis wrote: > >> On Tue, Jan 14, 2014 at 10:15 AM, >> <[email protected]> wrote: >> >>> >>> How does that answer my question? I don't understand your response. >>> It's a >>> calculation done several times over where those are the 2 input >>> parameters. >>> >>> >> I think what SR was getting at was make a VFP FUNCTION and encapsulate >> your SQLEXEC code: >> >> lValue = MyFunc(pcRegion, piLine) >> >> >> function myFun etc etc etc >> <SQLEXEC stuff> >> return lFunctionValue >> > > > Well I did that...but inside that function I was wondering if deriving the > value as I did was the best way (only way) possible? I could use output > parameters, but I don't like that as much. > -------- > Just make this a reusable code block that can handle multiple inputs, N in number. Going to be hard to do that I guess, but worth it in the end. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cajidmylv6rtbocxvzyhsqfyy8nzc8tp8ndmgdox1iu-c8oo...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

