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