Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any one can help me about the data type
Message
From
17/08/2000 08:04:09
 
 
To
17/08/2000 03:31:09
Stanley Yip
Shun Sang (technology) ltd Hong Kong
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00405968
Message ID:
00406004
Views:
25
>I need to sent one paremeter to a method of one ActiveX.
>I only know the data type it use in Viusal Basic for that method of this ActiveX
>is using Long integer.
>But In Viusal Foxpro how to declare this type of variable.
>I have try integer and numeric data type
>but not work ! It come out a OLE error said "Data type mismatch "
>
>So what can I do in Viusal Foxpro .

Try placing the field data into a local variable and make sure it is of integer type. Something like:

MyVar = INT( MyField )
MyActiveXFunction( MyVar )

or if it has to be passed by reference:

MyActiveXFunction( @MyVar )

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform