cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mletendre
New Member

auto increment field on NEW only.

I am trying to create my first app and it is a simple Request for Quote. When someone creates a new request I would like the RFQ# to auto correct. When the request is updated the RFQ# should not change. Right now the new section works fine, but when someone tries to edit this in order to update the RFQ the RFQ# is blank. Im sure I am just doing something simple and incorrect. 

 

My formula is 

If (
SharePointForm1.Mode=New, 
Last('2019 RFQ Workbook').'RFQ#'+1,
Parent.Default
)
1 ACCEPTED SOLUTION

Accepted Solutions
rebeccas
Community Champion
Community Champion

Do you have that on the default of the actual Text Input (your DataCardValue) and not the card itself? The default for the card needs to stay with the ThisItem.FieldName and put that condtion you have on the TextInput Default. 

 

If that doesn't do it change the portion of the Parent.Default to the ThisItem.FieldName.

 

 

View solution in original post

1 REPLY 1
rebeccas
Community Champion
Community Champion

Do you have that on the default of the actual Text Input (your DataCardValue) and not the card itself? The default for the card needs to stay with the ThisItem.FieldName and put that condtion you have on the TextInput Default. 

 

If that doesn't do it change the portion of the Parent.Default to the ThisItem.FieldName.

 

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,295)