Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing ASP Parameters to a VFP COM DLL
Message
From
14/12/1999 21:59:56
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00303820
Message ID:
00303845
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform