>I encounter a problem using scan in one of my program.
>In the report I using subprogram to calculate the statistics. In that subprogram I use
>function ()
>scan
>*****
>endscan
>
>When I run my form, it gives me an error message saying THISFORM can only be used in a method.
>Anyone know why??
the function is not a part of the form, so you must specify the form name instead of using thisform...