Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select problem
Message
De
22/08/2006 23:02:44
Aaron K. Y. Chu
Health & Care Co. Ltd.
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:
Select problem
Divers
Thread ID:
01147770
Message ID:
01147770
Vues:
59
Dear All,


A field of a table (log_user) (VARCHAR(50)) is used to log the authorization level, e.g. TS,MT
means the user can login for TS or MT shops.

However, the real name should be TS = Tesco & MT = Maytower

A Table called the location

Code Name
TS Tesco
MT Maytower

My question, how to select from the character field with the location table,
select name from location where code = (log_user.location) into cursor Tmp
Best regards,

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform