Return Value of Lookup Without Match

Drew_D
New Member

Iโ€™ve got an app that has a form with the sole purpose of scanning a barcode to change the status of the associated record. This part works perfectly.

I want to popup a message if the user scans a barcode that doesnโ€™t already have an associated record. Iโ€™m not sure how to do this however I was thinking of something like a lookup that runs after the scan as an action that runs with the status change. Any recommendations?

Solved Solved
1 1 452
1 ACCEPTED SOLUTION

Hey @Drew_D, welcome to the community.

First: you might check out the following post; itโ€™s full of tons of helpful tips to help you get stared with using the community to find answers.


To answer your question

  • What youโ€™d need to do is create a separate column (I would go with a Show (Header or Text) type) to alert someone that the item scanned wasnโ€™t found, and conditionally show this whenever a result isnโ€™t found.

To do this, Iโ€™ve done the following in the past:

  1. create a โ€œdata entry fieldโ€ - this is the actual scanner field
  2. Create a separate field that does a LOOKUP() based on the data entry field
  3. Create a show (header or text) column with a conditional show if statement:
and(
  isnotblank([Date_Entry_Field]), 
  isblank([Lookup_Field])
)

Youโ€™ll have to enter some text to be shown for the Show column (this would be the warning text or alert you want the user to see), but this field will only show up when someone scans something, but thereโ€™s no result from the LOOKUP()

View solution in original post

1 REPLY 1

Hey @Drew_D, welcome to the community.

First: you might check out the following post; itโ€™s full of tons of helpful tips to help you get stared with using the community to find answers.


To answer your question

  • What youโ€™d need to do is create a separate column (I would go with a Show (Header or Text) type) to alert someone that the item scanned wasnโ€™t found, and conditionally show this whenever a result isnโ€™t found.

To do this, Iโ€™ve done the following in the past:

  1. create a โ€œdata entry fieldโ€ - this is the actual scanner field
  2. Create a separate field that does a LOOKUP() based on the data entry field
  3. Create a show (header or text) column with a conditional show if statement:
and(
  isnotblank([Date_Entry_Field]), 
  isblank([Lookup_Field])
)

Youโ€™ll have to enter some text to be shown for the Show column (this would be the warning text or alert you want the user to see), but this field will only show up when someone scans something, but thereโ€™s no result from the LOOKUP()

Top Labels in this Space