Hello,
I have a scenario where I have unique identifiers in about 25 tables,
each table has varying fields - eg.
Table #1 Table #2 Table #3 Table #4
--------- -------- -------- --------
sample_no sample_no sample_no sample_no
coords test1 test2 test3
desc desc desc notes
absorb diff
The 25 tables correspond to different chemical tests that are run on
each sample. Each test has its own "fields", and hence its own table.
Now, I want to query the tables where the sample number is 31601 and
let's say that sample_no exists in all but table #3. So essentially, I
wish to query every table and extract everything from those table(s)
which have data on sample_no 31601. It turns out that when I query
using a straight select statement, it returns nothing if one of the
tables doesn't have that sample_no(31601 ). If I remove the table which
is does not have sample_no = 31601, it works just fine. I have
surmised this is due to the type of JOIN that MS-Access uses in its
query builder.
Not sure where to go from here...
Is there any way can I get around this?
Thanks in advance!
jkm
I have a scenario where I have unique identifiers in about 25 tables,
each table has varying fields - eg.
Table #1 Table #2 Table #3 Table #4
--------- -------- -------- --------
sample_no sample_no sample_no sample_no
coords test1 test2 test3
desc desc desc notes
absorb diff
The 25 tables correspond to different chemical tests that are run on
each sample. Each test has its own "fields", and hence its own table.
Now, I want to query the tables where the sample number is 31601 and
let's say that sample_no exists in all but table #3. So essentially, I
wish to query every table and extract everything from those table(s)
which have data on sample_no 31601. It turns out that when I query
using a straight select statement, it returns nothing if one of the
tables doesn't have that sample_no(31601 ). If I remove the table which
is does not have sample_no = 31601, it works just fine. I have
surmised this is due to the type of JOIN that MS-Access uses in its
query builder.
Not sure where to go from here...
Is there any way can I get around this?
Thanks in advance!
jkm
Comment