>>Is there any way I can run a sql statement and store it to cursor (ie: SELECT * FROM tblEmployee INTO CURSOR curEmp) and then loop through each record of the cursor?
>>
>>Thanks!
>
>
>Hi John,
>
>
>SELECT * FROM tblEmployee INTO CURSOR curEmp
>SELECT curEmp
>SCAN
>** Do what you need to here
>
>ENDSCAN
>
>
Imagination is more important than knowledge