Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SELECT TABLE.* (any problems with that?)
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01287154
Message ID:
01287519
Views:
7
>>Thought you all would find this amusing.
>>After deciding that no harm could come from using select table1.*, table2.field1, table2.field2... and running the prg, the screen crashed. It seems that a field selected from table2 has the same name as one in table1. Back to listing all field names.
>>
>>Thanks again to all of you.
>
>You always could use FieldNames:
>
>select table1.*, table2.field1 AS Tbl2Fld1, table2.field2 AS Tbl2Fld2....
>
The field in this case is the invoice date and is the same in both sales order and invoice tables. Users can enter a future invoice date when crating the sales order so the customer can get extra time to pay the bill if it is a large sale.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform