RC2020
(Miguel Lopez)
March 3, 2022, 7:57pm
1
Hello Everyone,
I need assistance in creating a simple if statement.
My logic if a date field is blank then type No if not blank then type Yes.
Here is the code I put into the calculation
and it said the logic was fine. Until I executed the report and I received this error.
I would appreciate any assistance on this.
Thanks in Advance.
Try replacing the β0β with ?
RC2020
(Miguel Lopez)
March 3, 2022, 8:18pm
3
Hello Marc,
Now I get the following message.
Jonathan
(Jonathan)
March 3, 2022, 8:23pm
4
If you remove this condition the report works fine? Just trying to confirm it is indeed this expression that is causing the issue.
Try != ββ instead of > β0β
RC2020
(Miguel Lopez)
March 3, 2022, 9:42pm
5
If JobHead.UserDate2 = ββ Then βYβ Else βNβ
Now getting this error from the setup (See below)
If JobHead.UserDate = ? Then βYβ Else βNβ
1 Like
afabian
(Aeron Fabian)
March 3, 2022, 10:50pm
7
Try this. Do you have another field that is definitely always going to be blank.
If so, then try this, in this example UserDate2 field will always be blank.
If String(JobHead.UserDate1) = String(JobHead.UserDate2) Then βNoβ Else βYesβ