Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get records
Message
De
29/08/2004 18:02:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/08/2004 17:57:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00937427
Message ID:
00937442
Vues:
11
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform