On Thu, Jan 16, 2014 at 11:16 AM, <
[email protected]> wrote:

> On 2014-01-16 07:33, AndyHC wrote:
>
>> Personally I always found it /convenient/ to get results in Fox
>> cursors (I even struggled with Oracle RefCursors to do it!) however:
>> I don't know mySQl but for SQL Server or Oracle some variation of the
>> following should work:
>>
>> use
>> lConn = && insert your conn string or etc.
>> * we assume an sp that accepts 2 IN parms (char, int) and one [IN]OUT
>> parm (int)
>> lInParm1 = 'mykey'
>> lInParm2 = 123
>> lOut = 0
>> lCmd = "exec myDB.mysp(?lInParm1, ?lInParm2, ?@lOut"  && pass by
>> reference.
>> ? SQLEXEC(lnConn, lCmd)
>>
> ----------------------------------------------

Why not try:

MyVar =  SQLEXEC(lnConn, lCmd)

-- 
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/cajidmylng5op76sqkc3fulqgnovkr2v3tsrdblj5d2ogkjr...@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.

Reply via email to