Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why only one record created in my cursor?
Message
From
29/03/2007 13:57:27
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01209944
Message ID:
01209960
Views:
17
>thanks reply, yes all records

Then change your code to something similar to this:
Create Cursor mycursor (code C(3),descript C(20))
For nLoop=1 to thisform.mylist.listcount
  nCode=thisform.mylist.list(nLoop)
  Insert Into mycursor Select code,descript From student where code=nCode
Endfor
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform