Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECTing from Identical Tables in Different Folders
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00734544
Message ID:
00734550
Views:
19
>I have a SELECT statement that compiles information from several tables. I need to add a table.field to the list in the SELECT statement; however, the tablename.fieldname is identical to one of the other tables in the SELECT..FROM list (it just resides in a different directory). How does one get around this? Would appreciate any help. TIA, Chuck

Before issuing the SELECT, open the table in the other directory, explicitly assigning it a unique alias; that way, you can reference that table in a clearly-identifiable way in your SELECT statement.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform