Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange problem
Message
From
12/03/2012 21:18:35
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01538139
Message ID:
01538157
Views:
54
I might have worked without the outputs as well.

>>I will admit that I am a lot more familiar with Sql Anywhere then Sql Server but I would call the sp this way
>>=mySQLExec("execute dbo.siriussp_rsGetBlocks @TemplateID = ?m.nTemplateID,?@nBlockCount, ?@nSeatsCount , 'rsTSBlocks'",program())
>>
>>Seems to me that if you pass a variable by reference then the value would be returned by the SP. I thought "output" was part of the parameter statement of the SP. Anyway, the above is how I would do this is Sql Anywhere.
>>
>This worked. Strange, but my original way (using named parameters) worked fine in one DB and didn't work in another. I tested it right now in working DB and after I made all parameters to be non-named, it worked.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform