Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8647113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:59:06+00:00 2026-06-12T12:59:06+00:00

Hi I have 2 cells with dates in them (Say Cell A and Cell

  • 0

Hi I have 2 cells with dates in them (Say Cell A and Cell B). I would like to see if Cell A < Cell B. However, Cell A can be blank sometimes. In which I would like to just ignore the calculation.

It seems that SSRS evaluates everything, even if it is not in the logical steps for the function because any safe guards I code are ignored. Thus, I always get an #error when Cell A is blank.

I tried to write some VB code to do this calculation because I thought that would mitigate the problem. However, the same issue occurs with the following function:

Public Function CheckForError(ByVal Baseline as String, ByVal Current As String) As Boolean

If IsError(DateValue(Baseline)) Then
    Return False
Else 
    Return True
    End If
End Function

My expression is this:

=Code.CheckForSlip(ReportItems("Milestone_Baseline_Date").Value, ReportItems("Milestone_Current_Date").Value)

I am obviously expecting the function to return false instead of #error, but this effort does not work.

Can anyone help me with this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:59:07+00:00Added an answer on June 12, 2026 at 12:59 pm

    Checking the String Length does not return null

    Public Function CheckForError(ByVal Baseline as String, ByVal Current As String) As Boolean
    
    
    If Len(Baseline) < 1 Then
        Return False
    Else 
        Return True
        End If
    End Function
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 8 cells that are being built in my UITableViewController. I would like
I have a UITableView with 8 cells(sections) in total in which 6 of them
I have some date/time cells in Excel and I would like to add a
I have to subtract two dates and divide it by the number of cells
In a cell in Excel sheet I have a Date value like: 01/01/2010 14:30:00
I have cells that look like this, one per line: Duffy,John: 'Heritage: Civilization and
I have a cell that has string IDs. I need to replace them with
I have a whole bunch of dates in three columns which are used by
I have a feed of items displayed in table cells, part of which is
I have a data file which I'd like to read into R which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.