You need to copy the array from the property to a regular array. Look at ACOPY().
>I've built a class, called risUtil, which houses a number of methods including aColScan. This method takes 3 parameters, namely an array to scan. It requires that the array be passed by reference.
>
>In trying to use the aColScan method from another class I can't figure out how to send the array by reference. I've defined the aTableStructures array as a property of the class.
>
>
>lnRow = This.RISUtil.aColScan( @This.aTableStructures, .F., TABLE_STRUCTS_NAME_COL )
>
>
>Using the "@" character to force passing by reference gives me the following run-time error:
>"Alias 'THIS' is not found."
>
>Hopefully there is a simple solution to my problem. Any and all help is greatly appreciated!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer