Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Receiving 2 arrays as parameters
Message
 
 
To
11/06/2004 04:29:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00912570
Message ID:
00913146
Views:
16
Irene,

Try
FUNCTION upd_client(sudl as string, ;
    CLIENT_ARRAY as ARRAY, PREV_ARRAY AS Array, ;
    SUSER as string) as ADODB.RECORDSET
EXTERNAL ARRAY CLIENT_ARRAY
EXTERNAL ARRAY PREV_ARRAY
...
>In my function I receive 2 arrays from the .net windows forms front-end.
>e.g.
>FUNCTION upd_client(sudl as string, CLIENT_ARRAY(), PREV_ARRAY(), SUSER as string) as ADODB.RECORDSET
>
>In the front-end code, the registered dll only allows the selection of the CLIENT_ARRAY and does not pick up the second array.
>
>What is the correct syntax to receive arrays in a function. If I leave out the (), it causes an error during the build of the dll (CLIENT_ARRAY undefined).
>
>Thanks
>
>Irene
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform