Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which record in query came from this table?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01398723
Message ID:
01398740
Views:
49
>>Do you have fields in each table named the same? If you do alias them. I am confused as to what you are asking.
>>
>>If you are joining them the record will have results from both tables merged into one unless you are performing a left outer on one table that may not have children records linked to the main table.
>
>Can you please explain what you mean by "alias them? ". I think this could bring me to the solution. Thank you.

Table1.Field1 as myField1, Table2.Field2 as MyField2

Or

Table1.Field1 as PrimaryField1, Table2.Field2 as ChildField2
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform