i've the same problem as dennis, i 've different excel file as the database
source. they all linked up to the access. and i want to use query ("select
from") function to draw data with specific criteria from these sources at
the same time.
so, can u describe a bit more how to make it?? Naresh.
Two ways:
- Probably best: create a local Table in Access with the desired field
sizes and datatypes. When Access links to or imports from Excel it has
to guess at the proper datatype and often guesses wrong (e.g. fields
containing a mix of text and numbers may get treated as numbers). Use
File... Get External Data... Link to link to each spreadsheet in turn
and create an Append query to append from the spreadsheet to the
table. Now you have a single table upon which you can base a query.
- Another possibility: Use File... Get External Data... Link to link
to each of the spreadsheets. Create a UNION query to string them all
together into one long recordset - see the online help for UNION, it's
not hard but you need to go to the SQL window to create it. You can
put criteria on each spreadsheet's data, or base another query with
flexible criteria on the UNION query.