Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use this in select - SQL
Message
De
30/03/2006 12:30:14
 
 
À
30/03/2006 12:24:52
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01108273
Message ID:
01109244
Vues:
17
>>>use customer in select('customer')
>>
>>I don't understand. If you're opening a table for the first time you
>>
>>Use TableName in 0
>>
>>If you want to know the alias of an already open table you can use: SELECT("TableName")
>>
>>What you put above will try to open table in the alis that it is already open in, which does not make sense.
>
>Actually, it does! It will open the new customer cursor in the workarea already occupied by any existing customer cursor OR it will open it in the equivalent of SELECT 0. Although I usually write it like...
>
>use customer in (select("customer"))

Yes I understand this (but his 1st language isn't complex-speak) but, well, what a palarver, rather than just "in 0", unless he actually does want to " open the new customer cursor in the workarea already occupied by any existing customer cursor", which has not been stated as his wish.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform