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 -- Matt Jarvis Eugene, Oregon USA _______________________________________________ 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/capt54rzvs4rpq5_vvtby6jwbmqbv3wjib--5y8wareydlpc...@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.

