Jump to content
  • 0

Retrieve a value for a particular Virtual field if another field is blank


MarkMayhrai

Question

Hi,

Hi, I'd like to have a start to code a particular scenario: If a calculated field return NULL, I would like another field to have its value set based on a particular cascaded dropdown. If the calculated field has a value, the the field to set will have a value from another cascaded dropdown. Is this possible?

Capture.PNG

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Since this looks like a submission form, I thin you can set the QB ID field as a Calculated Value.

From there, you can use an SQL conditional statement like this:

Case 
When [@field:customerQBID] = ''
then [@@field:Select_Invoice]
else [@@field:Select_Invoice2]
end

Ofcourse, you will have to change the field name with your actual field names. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...