Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Show available rooms for null values

Show available rooms for null values


I am needing some help writing a crystal report formula to pull null values for availability. I am an academic scheduler and I would like to be able to pull a list of available classes by term.

I have attempted to write the following formula:
if (isnull ({room})) and
If ({time} = "0800") and
if ({day} = "MWF") and
then {room}+ " "+{time}

RE: Show available rooms for null values

In the formula expert. Did you select 'Default Values for NULLs'? Also normally would put all three statement in one if (you have nested the ifs in a non standard way)

if (isnull ({room})) and
({time} = "0800") and
({day} = "MWF") and
then {room}+ " "+{time}

RE: Show available rooms for null values

I have attempted to add the nested if statement you provide, but I am receiving a " number, currency amount, Boolean, date, time string expected" error.

RE: Show available rooms for null values

Also could get the same results if a I did a subreport formula?

RE: Show available rooms for null values

For one thing, remove the "and" before the "then".


RE: Show available rooms for null values

Thank you I figured that out.

RE: Show available rooms for null values

Opps!, trying to do a quick copy and paste and remove the extra ifs. me bad !!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close