I find lots of stuff but noting telling me how to actually capture the result unless I am using a stored proc in SQL Server. Also, nothing specific to VFP.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!