Announcements
I want when open form then CreateDateTime field auto fill, how??
Any one help me please.Thank You!
You're looking at the problem from a wrong angle. You want to to initialize the value when creating a new record in the table, not when opening a form. Yes, when you open a form and there is no record, a new one is created, therefore it looks like the same thing in the particular case, but focusing on the form is misleading.
The problem in your case is that this field is populated when the record is inserted, which didn't happen yet. It'll be populated when you fill mandatory fields and save the record. That's how it works across the system, therefore the best thing you can do is explaining that to users and not making any changes.
okay you mean when user add record and then show in form otherwise it is not possible?
Thank you!
You can't show the time when the record was inserted to database before it was actually inserted. That's clearly impossible - you don't know when exactly it'll be inserted - or if it'll be inserted at all.
If you really want, you can create another field with a different meaning - not when the record was created, but when it was initialized and a user could start working on it. Then you could easily initialize the value in initValue() method of the table. But I doubt that this additional field would be useful enough; that's why I recommended stricking to CreatedDateTime.
Thank for help.
If it answered your question, please don't forget to verify the answer.
Sir issue resolved.
Thanks.
You verify an answer by Did this answer your question? > Yes on the reply (or replies) answering the question.
You can read more about it in Suggested and Verified Answers.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 721 Super User 2026 Season 1
Abhilash Warrier 280 Super User 2026 Season 1
Giorgio Bonacorsi 255