Neven (not Nevan :) )
I don't think this has anything to do with
TDataset
The issue is what the result set column names are when
columns
in two joined tables have the same name.
For example the following query in Interbase:
select p.pat_id,a.pat_id
from patient p join patient_alias a on
(p.pat_id = a.pat_id)
results in 2 columns "PAT_ID" and "PAT_ID1"
There's no ambiguity here, but if you want more mnemonic names
for
the result columns you need to alias them in your
select
The "name" of the "field" (column) comes from the
underlying
DBMS not from TDataSet
(I think this was Kyley's original point)
Maybe I am missing YOUR original point <g>
|
Title: Message
- [DUG]: Column Names Neven MacEwan
- RE: [DUG]: Column Names Kyley Harris
- Re: [DUG]: Column Names Neven MacEwan
- RE: [DUG]: Column Names Kyley Harris
- Re: [DUG]: Column Names Neven MacEwan
- Re: [DUG]: Column Names Nello Sestini
- Re: [DUG]: Column Names Neven MacEwan
- [DUG]: Persistent Main form Bob Osborn
- Re: [DUG]: Persistent Main form Neven MacEwan
- RE: [DUG]: Column Names Stacey Verner
- Re: [DUG]: Column Names Neven MacEwan
- RE: Re: [DUG]: Column Names Peter Speden
- RE: Re: [DUG]: Column Names Andreas Toth
- Re: Re: [DUG]: Column Names Neven MacEwan
- RE: RE: Re: [DUG]: Column Names Peter Speden
- RE: RE: Re: [DUG]: Column Names Andreas Toth