Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing ASP Parameters to a VFP COM DLL
Message
De
14/12/1999 21:59:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00303820
Message ID:
00303845
Vues:
22
>SET oCalculate = server.CREATEOBJECT("SquareNumbers.Generate")
>FirstNumber = REQUEST.FORM("FirstNumber")
>SecondNumber = REQUEST.FORM("SecondNumber")
>MyResult = oCalculate.HowManySquareUnits(FirstNumber,SecondNumber)
>
>In my VFP Error event I get a "data type mismatch" when I multiply the two parameters together:
>

My first guess would be that all data types of form variables are strings. Try to VAL the parameters.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform