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 / Queries / September 2006

Tip: Looking for answers? Try searching our database.

If field is blank add value?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Str8 - 29 Sep 2006 17:18 GMT
I assume this is easy but can't figure it out. I know how to use iff
statments to return one value or another but here's what I need. Basically if
a field in a column comes back blank I want "No lvl" to get put in that blank
field.

Thanks in advance.
Klatuu - 29 Sep 2006 17:49 GMT
If you mean in a select query, you can do it with a calculated field and and
IIf statement.  In the query builder Field row, make up a name and put a
calculation in it.  For example purposes, we will call the table field
[The_Level]
Level: Iif([The_Level] Is Null, "No lvl", [The_Level])

> I assume this is easy but can't figure it out. I know how to use iff
> statments to return one value or another but here's what I need. Basically if
> a field in a column comes back blank I want "No lvl" to get put in that blank
> field.
>
> Thanks in advance.
Str8 - 29 Sep 2006 19:54 GMT
Thanks I'll give it a try I have that database locked up right now.

Thanks again

> If you mean in a select query, you can do it with a calculated field and and
> IIf statement.  In the query builder Field row, make up a name and put a
[quoted text clipped - 8 lines]
> >
> > Thanks in advance.
 
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.