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

Incrementing Numbers Automatically

With the help and encouragement of the awesome user base on here, I created a simple app to track revisions to orders...

 

This is the entry screen:

 

power_apps_revision_07.jpg

 

I am looking for a way to code this in such a way that the revision number is automatic and increments when needed. What I would love for it to do is automatically increment the revision number by 1 if one already exists for the JOB # and if it is the first revision to default to 1. 

Any suggestions? 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @Garak0410 ,

 

You can do as below:

Default property of the text box of screening:
Default : Text(if(Max(SPListName,'revision')=0,1,Max(SPListName,'revision')+1))

That will show 0 for the first review and it adds one for all the next revisions.

I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hi @Garak0410 ,

 

You can do as below:

Default property of the text box of screening:
Default : Text(if(Max(SPListName,'revision')=0,1,Max(SPListName,'revision')+1))

That will show 0 for the first review and it adds one for all the next revisions.

I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

Super User II
Super User II

Hi @Garak0410,


I just want to follow up with you on this issue to see is it resolved or still you see any challenges.

If you see any challenge/need further help let me know I am always happy to help.

Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,748)