Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving through a cursor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748324
Message ID:
00748425
Views:
13
>>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  && Assure the cursor is selected
>SCAN
>** Do what you need to here
>
>ENDSCAN
>
>
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform