VFP9SP2 on front end; MariaDB (MySQL) on backend

I have a ton of stored procedures that return resulting calculations from sums. I want to know the easiest way to get that value from the VFP call. Right now, I'm doing something like this:

SQLEXEC(this.iHandle,[call spCalcSumForRegion(?pcRegion, ?piLine)],"Answer") && call remote stored proc lnAnswer = eval("Answer." + field(1,"Answer") && only one value in result and that's the answer I want
use in sele("Answer") && done with temp cursor
return lnAnswer && have a nice day

tia,
--Mike


_______________________________________________
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/[email protected]
** 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