Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Stored Proc
Message
 
 
À
16/07/2005 04:58:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01033214
Message ID:
01033526
Vues:
15
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.)

The VFP9 help describes the ASC() function as returning the ANSI value, but from back in the FP DOS days it returned the ASCII value. I'm wondering if this might be part of what's going on.


>>>
>Hard to say unless you describe the problem more clearly - maybe an example of the result you're expecting and the result you get? Maybe a UNICODE issue
>
>Regards,
>Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform