Returning data from a stored procedure

  • Thread starter Thread starter John Spiegel
  • Start date Start date
J

John Spiegel

Hey All,

How should one return a single data element from a VFP stored procedure to a
..NET caller? The basic thing that keeps hanging me up is that VFP doesn't
return sets of data--at least not in the same sense that something like a
SQL Server does, but Execute___ commands are expecting sets back.

TIA,

John
 
Thanks Joel,

It has a lot to do with me being an idiot! I had tried the unboxing, but
when I was trying it I hadn't been careful with my stored procedure, which
turned out to be returning a logical/bool rather than the int I was
intending. Dumb dumb dumb dumb dumb.

- John

PS - I'll be in your area in a couple days, can you serve up some good
weather? <g>
 
HAHAHA, don't hit yourself too much. We have all done stupid things like
that, and sometimes what's worse is it takes days (and a couple bottles of
aspirin) to figure it out.
 
Back
Top