Premium Only Content
Let Users Know How Many Records are in a Gallery's full recordset
PowerApps galleries load records in chunks of 100, so a user is left wondering, "Is that everything?"
When Delegation Limits also come into play, the problem can be even more difficult. If the gallery contains exactly 500, or 2,000 records, is that all there are, or is that a result of delegation?
I solved the dilemma with a PowerApps flow and a Stored Procedure in SQL Server.
Here's the SQL from the Stored Proc. The rest of the code is revealed in the video.
USE [NameOfYourDatabaseGoesHere]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE OR ALTER PROCEDURE [dbo].[RecordCount]
@SearchTerm varchar(10) = ''
AS
BEGIN
DECLARE @Recordcount int
SELECT @Recordcount = count(*) FROM dbo.Employees
WHERE LastName like '%' + @SearchTerm + '%'
OR FirstName like '%' + @SearchTerm + '%'
RETURN @Recordcount
END
GO
Links to downloads:
https://www.gpcdata.com/downloads/Employees2K7.zip
https://www.gpcdata.com/downloads/Employeesbacpac.zip
-
LIVE
Tundra Tactical
3 hours ago🛑LIVE NOW!! Honest Gun Company Slogans Gun Mad Libs and Much More
170 watching -
LIVE
MattMorseTV
4 hours ago $173.90 earned🔴Senate VOTES to END the SHUTDOWN.🔴
13,438 watching -
LIVE
Barry Cunningham
1 day agoBREAKING NEWS: DID PRESIDENT TRUMP MAKE A HUGE MISTAKE? SOME SUPPORTERS THINK SO!
1,788 watching -
LIVE
SpartakusLIVE
3 hours agoSOLOS on WZ || #1 Challenge MASTER is BACK in Verdansk
443 watching -
LIVE
megimu32
1 hour agoOFF THE SUBJECT: Chill Stream, Music & Fortnite Chaos 🎹🎮
112 watching -
2:24:09
vivafrei
11 hours agoEp. 290: Canada's Darkest Week; Comey Fix is In! Tariffs, SNAP, Hush Money Win & MORE!
192K129 -
LIVE
EricJohnPizzaArtist
5 days agoAwesome Sauce PIZZA ART LIVE Ep. #68: DDayCobra Jeremy Prime!
192 watching -
LIVE
meleegames
2 hours ago32X Roulette - 30 Years. 32 Games. 32X.
95 watching -
LIVE
SOLTEKGG
37 minutes ago(30+ KILL WORLD RECORD) - Battlefield 6
61 watching -
LIVE
HELMETFIRE
1 hour ago🟢GAMING WITH FIRE EP15🟢
31 watching