
I have a date field in a form that is invisible but inserts the current date in new records. But when I make edits it performs the update to the current date again, I want it to keep the previous date, just insert the current date with Now() in new records. (Note: vehicle arrival and departure application)
On your data form, I guess you changed the default property of the data card that correponds to your date field, to Now().
If you only want to set the current date when you create a new record, you can modify the Default property as follows:
If (Form.Mode = FormMode.New,
Now(),
ThisItem.YourDateField
)