cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Memorable Member
Memorable Member

Auto Increment Id in a Collection, and update collection via that Id.

Hey all

 

 

Before I start of things, I already made this work with a SQL table, but now I want to recreate this but with a collection, to have faster loadings and just to test it out in general.

 

But Im struggling with the following, I want to add tasks to a collection with a Id that auto increments everytime a new task is created.

What also needs to possible is that a task can be modified and can be deleted.

 

Now the incrementing Id works fine only passing that Id to a new task doenst seem to work.

 

I hope the screenshots below make it a bit more cleat what I try to achieve.

 

Kind regards

 

 

Tom

 

New Task screenNew Task screen

FIrst task saved in the collection, makes a blank record with itFIrst task saved in the collection, makes a blank record with itTasklist viewTasklist view

 

 

 

 

OnHidden NewTaskOnHidden NewTask

 

 

 

 

OnVisible of the NewTask ScreenOnVisible of the NewTask ScreenUpdatecontext IdUpdatecontext IdUpdated IdUpdated IdTaskCollection, where only two tasks can be added apparentlyTaskCollection, where only two tasks can be added apparentlyI

 

 

 



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Auto Increment Id in a Collection, and update collection via that Id.

Hi @Tom_Slosse,

 

Would you please shared the formula you used to create the collection? 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Memorable Member
Memorable Member

Re: Auto Increment Id in a Collection, and update collection via that Id.

Hey @v-monli-msft

 

 

I solved my problem by adding some more screens to my app. So I have one for a New Task and one for Edit Task now and it works fine. I guess the auto increment Id wasn't the problem but the resetting of the field won't work and I think that messed it up. 

 

But thanks for the reply.

 

Kind regards

 

 

Tom



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,580)