cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AVTS
Post Patron
Post Patron

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

View solution in original post

AVTS
Post Patron
Post Patron

Many Thanks Its worked

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,754)