Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get records
Message
From
29/08/2004 18:02:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/08/2004 17:57:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00937427
Message ID:
00937442
Views:
12
>hi,
>
>thank you,
>but i get error message(Table has no index order set )

That is because the wrong table is selected. As I mentioned in a reply to myself, I forgot the command to go back to the first table. This can be at the beginning, or at the end, of the loop.
CLOSE all
use aliq
INDEX ON  no TO no
set order to "no"
for i = 1 to 20 && assume 20 values for flag
  select aliq && <====== I added this command
  seek i  &&Table has no index order set
  copy next 5 to temp while no = i
use aliq1
  append from temp
next
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform