cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wally0114
Regular Visitor

Number generation that connects to multiple Forms

So, I want to add sequential number generation to one of my forms in the app and i would like that is generated to be added to another form that is connected to the first form How is that done? 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Nogueira1306
Super User
Super User

When you submit te first form you can define a var with the LastFrom ID.

 

Something like:

 

Set(varAutoGenerated, Form1.LastSubmited.NameOfTheField)

 

And, after that, you use your variable when you want

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

My website!

My blog!

View solution in original post

On Form1, on property "OnSuccess"

 

After you submit the form, if it has success, it will create that var for you

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

My website!

My blog!

View solution in original post

3 REPLIES 3
Nogueira1306
Super User
Super User

When you submit te first form you can define a var with the LastFrom ID.

 

Something like:

 

Set(varAutoGenerated, Form1.LastSubmited.NameOfTheField)

 

And, after that, you use your variable when you want

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

My website!

My blog!

Thank you Nogueira1306, Where would that formula be added? 

On Form1, on property "OnSuccess"

 

After you submit the form, if it has success, it will create that var for you

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

My website!

My blog!

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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 (4,349)