Handle a null value

Сonversation on different topics
Post Reply
skymvm
Posts: 3
Joined: Thu Oct 24, 2024 9:35 am

Handle a null value

Post by skymvm »

Hi
I have a field in my database with nvarchar type that contains null, I can't manage it, I used iif like this
{iif(DataSource1.field1== null,DataSource1.field2, DataSource1.field1)} and this b
IF (DataSource1.field1== null)
DataSource1.field1.value "1"
Else
DataSource1.field1.value "DataSource1.field1"
End If
but they didn't work and I couldn't fix that, I would be appreciate if you could help me
Lech Kulikowski
Posts: 6830
Joined: Tue Mar 20, 2018 5:34 am

Re: Handle a null value

Post by Lech Kulikowski »

Hello,

What product and version are you use?

Thank you.
skymvm
Posts: 3
Joined: Thu Oct 24, 2024 9:35 am

Re: Handle a null value

Post by skymvm »

I realized what my problem is
I've asked another question
Thank you
Lech Kulikowski
Posts: 6830
Joined: Tue Mar 20, 2018 5:34 am

Re: Handle a null value

Post by Lech Kulikowski »

Hello,

Ok.
Post Reply