cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andy_Prog
Resolver I
Resolver I

Searching List for Email, if present navigate to another Screen

Hi Guys,

 

I am creating a booking PowerApp, but I want the user to only be able to submit once.

 

Below you can see that if the list reaches 30 or is below it will navigate to two screens, but I need to know if the users email has been applied to the list or gallery mentioned below.

Capture.JPG

 

I have researched and I cannot find an answer unfortunately.

 

Looking forward to hearing from you guys, any help I would greatly appreciate it!

 

Andy

2 ACCEPTED SOLUTIONS

Accepted Solutions
Andy_Prog
Resolver I
Resolver I

Never mind I eventually found the solution, just posting it below, it might help someone in the long run:

If(Not IsEmpty(Filter(WorkshopList_1, Title = User().FullName)), Navigate(existScreen),
    CountRows(BrowseGallery1.AllItems) < 30, Navigate(firstDate),
    CountRows(BrowseGallery1.AllItems) >= 30, Navigate(fullScreen))

 

View solution in original post

This is the code I am using now and works a treat compared to my previous solution

If(!IsBlank(Filter(WorkshopList_1, Title = User().FullName)), Navigate(existScreen),
    CountRows(BrowseGallery1.AllItems) < 30, Navigate(firstDate),
    CountRows(BrowseGallery1.AllItems) >= 30, Navigate(fullScreen))

 

View solution in original post

3 REPLIES 3
Andy_Prog
Resolver I
Resolver I

Never mind I eventually found the solution, just posting it below, it might help someone in the long run:

If(Not IsEmpty(Filter(WorkshopList_1, Title = User().FullName)), Navigate(existScreen),
    CountRows(BrowseGallery1.AllItems) < 30, Navigate(firstDate),
    CountRows(BrowseGallery1.AllItems) >= 30, Navigate(fullScreen))

 

View solution in original post

Hi,

 

Thanks for your follow up post! I am glad that you were able to find a resolution for your issue. Hopefully this will prove useful for future communities users.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is the code I am using now and works a treat compared to my previous solution

If(!IsBlank(Filter(WorkshopList_1, Title = User().FullName)), Navigate(existScreen),
    CountRows(BrowseGallery1.AllItems) < 30, Navigate(firstDate),
    CountRows(BrowseGallery1.AllItems) >= 30, Navigate(fullScreen))

 

View solution in original post

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

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (48,647)