Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / March 2007

Tip: Looking for answers? Try searching our database.

Strange Doings With Blank Data Imported From Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
quirkyjoe - 14 Mar 2007 22:18 GMT
I imported some data from Excel and one field should either have a
value of "AB" or the cell was missing on import - that is, nothing was
in some of the Excel cells for that particular field - at least
nothing that i could see.

I use a query in ACCESS and say if "<> AB" then set a created field to
"True".

Turns out that some values are blank in Excel but ACCESS is setting
the created field to "False".

What might be causing this goofy problem and how do you suggest I
handle it?

Thanks!
Damian S - 14 Mar 2007 23:50 GMT
Hi quirkyjoe,

You will need to handle the value being NULL, so have something like
if isnull(FIELD) or (FIELD <> "AB") then true else false

Hope that helps.

Damian.

> I imported some data from Excel and one field should either have a
> value of "AB" or the cell was missing on import - that is, nothing was
[quoted text clipped - 11 lines]
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.