Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

blank data

ResolvedVersion 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:

Hiding Multiple Table columns

If you want to hide non-adjacent Access table columns. In Datasheet view, open the table that contains the columns you want to hide.

On the Format menu, click Unhide Columns.
In the Unhide Columns dialog box, clear the check box next to the name of each column you want to hide.
Click Close.

This method makes having to use the Hide Columns command repeatedly unnecessary

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.