web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / auto increment field o...
Power Apps
Answered

auto increment field on NEW only.

(0) ShareShare
ReportReport
Posted on by 4

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
)
rfq.PNG
Categories:
  • Verified answer
    rebeccas Profile Picture
    2,591 on at

    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.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard