Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Stored Proc
Message
From
19/07/2005 14:13:42
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
VB.NET 1.1
OS:
Windows Server 2003
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033214
Message ID:
01033960
Views:
19
Hi,

>>
The error I get is "Function argument value, type, or count is invalid."
It happens on a line containing this calculation:

CHR(ASC(SUBSTR(lcEncryptedPassword,lnXX,1)) - 1)

If I take this part out the error goes away. My ASP.NET debugging skills are still evolving, so I've isolated the problem by commenting out various parts of the code. This is what causes the error. (Of course it works fine in VFP.)
>>

I'm sorry - what you are attempting to do is still not clear. Am I right in assuming that you are passing a VB.NET string to a VFP stored proc ?
If so you could try STRTOFILE()ing the lcEncryptedPassword string to check what the SP is receiving. Or just break that line up into 3 seperate lines to narrow it down.

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform