blank data

Forum home » Delegate support and help forum » Microsoft Access Training and help » Blank data

Blank data

resolvedResolved · Low Priority · Version 2003

Jaz has attended:
Access Intermediate course

Blank data

How do you exclude blank data when importing a table from Excel

RE: Blank data

Hi Jaz

Thank you for your question

The easiest method is to first import the spreadsheet in the normal manner into what will be a temporary table

You can then create a "Make Table" query that will exclude any blank rows. To do this;

Create a new query and then:-

1. Add in the temporary table
2 Include all the fields in the table in your query
3 In the criteria row, in each column, type the criteria Is Not Null
4 Click on the query type button on the toolbar and select "Make Table Query"
5 Give your new table a meaningful name
6 Run the query and click OK when prompted

You will now have a copy of the temporary table minus any blank rows. You can then delete the temporary table.

Hope this is useful

Regards

Stephen


 

Access tip:

Create own ribbon tab - Access 2010

a. In Access click on the File tab
b. Select Options from left hand side
c. Choose the Customize Ribbon section
d. Click the New Tab button (below the list of tabs on the right hand side of the dialog box)
e. Select the New Tab (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
f. Select the New Group (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
g. Add commands to your tab and group by locating them on the list on the right hand side (remembering that you can change the list using the drop down box at the top of the list of commands) and clicking the Add button between the two panes to add them to your tab and group
h. You can rearrange the commands in your group, the groups on any tab or the tabs, using the up and down arrow buttons beside the list of tabs.
i. Click OK to apply your changes

View all Access hints and tips


Server loaded in 0.07 secs.