Query make table - allow blanks

dasaki

New Member
Joined
Jun 21, 2011
Messages
6
I'm using access 2007 and I'm trying to use the make table query in order to pull data from different tables together. The tables are linked by a unique ID #. Right now the query does not return anything if even one of the tables does not have all the columns filled out. How can I allow blanks in my table? For example if there is no info about unique id#1 in tables 2 and 3 I would still like to create a table with the unique id# and blanks for those columns or null values.

This is my previous post regarding my whole structure:
http://www.mrexcel.com/forum/showthread.php?t=559843

I feel like I can put something in the criteria section under query design for each column. Any help would be appreciated
 
When you read up on queries, pay special attention to the different join types between tables. An inner join will only return records with matches on both sides, but left joins will return all the records in one of the tables, and all the matching information from the other (and nulls where there is no match).

You can find lots of stuff on the internet that explain how these joins work. Here are a few:
http://www.databasedev.co.uk/query_joins.html
http://office.microsoft.com/en-us/access-help/join-tables-and-queries-HA010096320.aspx
http://office.microsoft.com/en-us/a...n-outer-join-query-in-access-HA001034555.aspx
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Okay thanks guys. That makes a lot of sense. So take the table with the IDs and then run a query and do outer joins with all the tables to get the fields I want. Hopefully I can figure this out. Thanks a lot!
 
Upvote 0
I think what you want is a left (outer) join, and I think the left part might be important for what you need.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,729
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top