Query Criteria

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would appreciate any help with building an expression. I have a query and
one of the fields is an organization field. If the organization field is
blank I want the words 'Terminated' to replace the null value. Can someone
please provide the expression I need to use.

Thanks!
 
Try

Select Nz([organization],"Terminated") As Neworganization From TableName

or, in another way. in the field section
Neworganization: Nz([organization],"Terminated")
================================
If the field is string, you might have empty Or Null, so you can try
Neworganization: IIF([organization]="" Or [organization] Is
Null,"Terminated",[organization])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top