S
S Davis
Hello folks,
I have a query in Access that returns a set of data. This calls data
fromour central database, and also another table I created in Access
that is simply the numbers 1 through 12.
Bringing them both in shows each record 12 times as a result, once for
each month as it were.
ie.
database1...database2...database3...mytable1
1...2...3...1
1...2...3...2
1...2...3...3
1...2...3...4
1...2...3...5
etc.
1...2...3...12
Simple.
I'm calling data using MSQuery in Excel. I'd like to seperate its
dependence on Access and just hit our main database. The trouble is,
the 'mytable' from Access does not exist on our main database
obviously, and I'd still like to replicate all records.
How can I do this? My thought is a 'virtual table', but I'm not sure
on either the proper term for such a thing, or how to create it in the
SQL. I'm not even sure if this is possible to be honest as SQL only
selects fields, and I don't think you can define field data there....
Thanks,
I have a query in Access that returns a set of data. This calls data
fromour central database, and also another table I created in Access
that is simply the numbers 1 through 12.
Bringing them both in shows each record 12 times as a result, once for
each month as it were.
ie.
database1...database2...database3...mytable1
1...2...3...1
1...2...3...2
1...2...3...3
1...2...3...4
1...2...3...5
etc.
1...2...3...12
Simple.
I'm calling data using MSQuery in Excel. I'd like to seperate its
dependence on Access and just hit our main database. The trouble is,
the 'mytable' from Access does not exist on our main database
obviously, and I'd still like to replicate all records.
How can I do this? My thought is a 'virtual table', but I'm not sure
on either the proper term for such a thing, or how to create it in the
SQL. I'm not even sure if this is possible to be honest as SQL only
selects fields, and I don't think you can define field data there....
Thanks,