cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tramlam7413
Frequent Visitor

Get the ID of the form that has not submitted

Hello everyone,

 

I'm having troubles getting the id of the edit form that has not submitted. For example, I first want to submit each request separately which each one will need to get the ID of the grand request; then I will submit the grand request containing all the request items. However, I can't get ID of the grand request because it has not yet submitted at the time of submitting the item.

 

Could anyone help me with this issue? Thank you so much in advance.

tramlam7413_0-1669888106184.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @tramlam7413 ,

This has its dangers if you have concurrent users as all you can really do is show the next ID available

First(
   Sort(
      SPList,
      ID,
      Descsnding
   )
).ID + 1

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

1 REPLY 1
WarrenBelz
Super User
Super User

Hi @tramlam7413 ,

This has its dangers if you have concurrent users as all you can really do is show the next ID available

First(
   Sort(
      SPList,
      ID,
      Descsnding
   )
).ID + 1

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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