Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum parameters allowed
Message
From
19/05/2004 11:55:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/05/2004 10:46:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00905283
Message ID:
00905307
Views:
13
>I've got a function within a class which acts as middle tier between sql server and .net front-ends. Total of 165 parameters to be received from front-end and must be passed to sql server database (stored procedures). An error 'Too many arguments' occurs on the execution of the function.
>
>What is the max parameters that can be received and if less than 165 how can it be done otherwise?
>
>Thanks

Documented limit is 26 parameters, undocumented is more than that depending on how you pass them.

Any variable is counted as one parameter and a variable could be an array or object carrying multiple paramaters which makes the limit virtually endless. ie: You could pass a recordset object as a single parameter which carries thousands of rows and columns, or an XMLStream, XMLDOM etc.etc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform