Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array passed to form no longer an array
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00361069
Message ID:
00361111
Views:
14
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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform