Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use this in select - SQL
Message
From
30/03/2006 12:30:14
 
 
To
30/03/2006 12:24:52
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01108273
Message ID:
01109244
Views:
19
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform