Jump to content
We've recently updated our Privacy Statement, available here ×

assigning some value when the field value is null


bravindra

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Personally, I'd let the database do the data management and let the report engine report on what is returned.  This means that I might use the IsNull() in my SQL Stmt. 

Syntax:

Select IsNull(<field>, 'N/A') AS MyValue From <tablename> Where <constraints>

In this case, if my <field> contained a null value, the query would return 'N/A' instead of null.

Hope this helps.



Post Edited by G. Todd Frahm at 01/12/09 21:28



Post Edited by G. Todd Frahm at 01/12/09 21:28
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...