cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Show items with personalized string by SortByColums with BDD

Hi, I have a connection with a BDD in MySQL and I have in a table "Customers", different records and different codes like "CLI0001" and "SUS0001". the problem is that I need to show customers whose code starts with "SUS".

 

THIS IS MY CODE: (This code is programmed in the event "Items" of "BrowserGallery" control)

 

SortByColumns(
    Search(
        Filter(
            '[dem_circulacion].[clients]';
            'cliNumero' in "SUS"
        );
        TextSearchBox1.Text;
        "cliNumero";
        "cliNombreCompleto";
        "cliTelefono"
    );
    "cliNumero";
    If(
        SortDescending1;
        Descending;
        Ascending
    )
)

THE IMAGE:

image.png

 

1 REPLY 1
Highlighted
Resolver II
Resolver II

Re: Show items with personalized string by SortByColums with BDD

Hey,

 

This part of your code does not make sense.

 

Search(
        Filter(
            '[dem_circulacion].[clients]';
            'cliNumero' in "SUS"
        );
        TextSearchBox1.Text;
        "cliNumero";
        "cliNombreCompleto";
        "cliTelefono"
    );

You are filtering datasource 'cliNumero' in "SUS", meaning that 'cliNumero' should be in the string "SUS".

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,209)