Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change sort order on cursor?
Message
De
09/10/2001 12:09:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/10/2001 12:05:03
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00566016
Message ID:
00566019
Vues:
13
>I have a cursor that ORDERS the data during creation of that cursor. Is there a way to RESORT the cursor without having to reselect the data?

I can imagine two ways.

1)

  • Create the original cursor with NOFILTER.
  • SELECT * FROM QUERY1 ORDER BY MYFIELD INTO CURSOR QUERY2

    2)

    INDEX on MyField to Temp

    For working safely over a network, create index names with sys(2015).

    HTH, Hilmar.
    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
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform