Looks like that change helped. Also, looks like I somehow accidentally dropped this 1 parameter when I was playing with that code, in the other procedure it was there.
>>Hi everybody,
>>
>>I have the following code
>>
>>
>> this.mysqlexec(m.lcSQL,'csrTables', program())
>> this.addproperty('aTables[1]')
>> dimension this.aTables[reccount('csrTables')]
>
>* It's possible it needs the column indicator even though it's only 1 column wide.
>* Possibly change this line to:
>DIMENSION this.aTables[reccount('csrTables'), 1]
>
>> copy to array this.aTables fields table_name
>> use in select('csrTables')
>>
>>I found that only the first row value is properly copied and the rest of the values remain false. Do you see a bug in this code? The csrTables has 13 rows and only the first row value is copied into that array.
>>
>>Thanks in advance.
If it's not broken, fix it until it is.
My Blog