cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AVTS
Helper V
Helper V

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
Helper V
Helper V

Many Thanks Its worked

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (13,094)