Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create index order for the cursor ?
Message
De
25/07/2011 05:11:43
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How to create index order for the cursor ?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01519042
Message ID:
01519042
Vues:
77
Hi,

I have following SELECT statement to select the customer records into a cursor CUSMAS_SRH and order by the customer code,
the cursor is binding to a grid in a form, I want user to click the customer name column header to change the order by customer name,
and click the customer code column header to order by customer code.

How to create the index order for the CUSMAS_SRH ?
SELECT cusmas->cusno,cusmas->cusname FROM cusmas INTO CURSOR cusmas_srh ORDER BY cusmas->cusno
Please advise.

Thanks.
Derek
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform