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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Exceção de campo ao sa...
Power Apps
Unanswered

Exceção de campo ao salvar formulário

(0) ShareShare
ReportReport
Posted on by 3

Bom dia 

 

[Aplicativo de entrada e saída de veículos] 

 

Tenho um formulário que tem um campo de data que usa a fórmula Now() para pegar a data atual e inserir no registro e está funcionando normalmente. Mas quando edito o registro ele pega novamente a data atual e substitui no registro, eu queria manter a data que já foi inserida, só usar o Now() quando se tratar de novo registro.

Ou seja, quero alterar todos os campos menos esse. 

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    For the default property, I would have

    If(IsBlank(Parent.Default); Now(); Parent.Default)

    (I used ; instead of , as I assume your editor is using location-specific Power Apps Studio formula)

     

    This means that if there is already a value it will use the existing value, otherwise it will use Now()

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard