cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AVTS
Super User
Super User

Canvas App -Search

I am having inventory scanning application with barcode option .

 

My table follows

AVTS_0-1620330582571.png

 

I am having

Barcode scanner  (Counter 1)

Input Text (Counter2)

DropDown(Counter3)

 

AVTS_1-1620330635837.png

Exisiting Setup,

Input Text (Counter2) and DropDown(Counter3) Changes automatically based on the Barcode Scanning.

 

Example :  Input Text (Counter2) is 5449000066947 is then dropdown change to 10121900.

Requirement :

 

I need to activitied the search in the Input Text (Counter2).

 

Example : If i enter 250 ml then dropdown box should display follows

10153701

10121900

 

Exisiting formulas.

 

Barcode scanner  (Counter 1)

Onscan: Collect(MaterialMasters,{TextInput4:BarcodeScanner1.Value,Dropdown1:BarcodeScanner1.Value})

-------------------------------

Input Text (Counter2)

Default :BarcodeScanner1.Value

------------------------------------

DropDown(Counter3)

Items: If(IsBlank(TextInput4.Text),MaterialMasters,Filter(MaterialMasters,'full cases'=(TextInput4.Text)||'single cases'=(TextInput4.Text) || mm=(TextInput4.Text) || Materialdesc=(TextInput4.Text)))

-------------------------------------------------

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @AVTS :

Please try this formula:

If(
    IsBlank(TextInput4.Text),
    MaterialMasters,
    Search(
        MaterialMasters,
        TextInput4.Text,
        "full cases",
        "single cases",
        "mm",
        "Materialdesc"
    )
)

2.PNG

1.PNG

Best Regards,

Bof

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @AVTS :

Please try this formula:

If(
    IsBlank(TextInput4.Text),
    MaterialMasters,
    Search(
        MaterialMasters,
        TextInput4.Text,
        "full cases",
        "single cases",
        "mm",
        "Materialdesc"
    )
)

2.PNG

1.PNG

Best Regards,

Bof

AVTS
Super User
Super User

Many Thanks Its worked

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,499)