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:
01398742
Views:
52
>>>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

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform