Your example only passed a variable with the value set to the value of the first element in the array; it did not pass the array.
>Hi Evan,
>
>This worked for me:
>
>dimension laSearchFields[n,m]
>laSearchFields = thisform.aSearchFields
>DO FORM FIND WITH "device", thisform.aSearchFields TO lnid
>
>>I have pass a 2D array to a form with the following command.
>>
>>DO FORM FIND WITH "device", thisform.aSearchFields TO lnid
>>
>>In the INIT of the modal I have the parameter statement.
>>PARAMETERS lcTable, laFields
>>
>>laFields appears to only by a character type. Referencing laFields(1,1) throws an error that the item is not an array
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao