>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.