Deleting Blank Records Automatically

Xcalibur

Registered User.
Local time
Today, 06:59
Joined
Oct 3, 2004
Messages
22
When I import an excel spreadsheet into my Access database it always creates a couple of new blank records. I import this spreadsheet frequently so I would like to set up a macro that will automatically delete any blank records it creates. Can someone tell me specifically how to do this?

Thanks.:)
 
after you've done the import, run a query along the lines of:

DELETE FROM tablename WHERE columnname IS NULL;
 
Thanks, I will try that tomorrow!
 

Users who are viewing this thread

Back
Top Bottom