cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ficnic
Level: Power Up

Auto increment sql

How to know the auto increment number add with a NewForm powerapps to sql database

1 REPLY 1
Power Apps Staff CarlosFigueira
Power Apps Staff

Re: Auto increment sql

On the OnSuccess property of the form, you can access the LastSubmit property of the same form; that property contains the "last successfully submitted record, including any server generated fields". For example, if the auto-increment column is called Id, then you can use this expression to store it on a global variable:

Set(lastId, EditForm1.LastSubmit.Id)

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,859)