>Can you pass an array from VFP to VB???
>
>"DistCalc" is a function in a VFP class that is returning an array of values. When passing the array to "strSearch" I get an error stating there is a problem with the "subscript".
>
>This is the VB code calling the VFP Class.
>
> strSearch = objFox.DistCalc(strDB, strlatlon, intMiles)
>
>I have tried declaring "strSearch" as a Variant, Array, String and Object. It errors out each time.
You might test with the COMARRAY() function on the VFP component and see if that does the trick.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement