Aug 07, 2026
2 min read

BC Friday Tips #78 InitValue Property

Did you know you can set a default value for a table field with InitValue.
Share:
BC Friday Tips #78 InitValue Property

#BCFridayTips is here for #msdyn365bc developers!

💡 Did you know you can set a default value for a table field with InitValue property?

field(50100; "My Boolean Field"; Boolean)
{
    InitValue = true;
}

It only kicks in when a new record is created, or via Init(), Clear(), or ClearAll(). It won’t touch existing records.

One catch. You can’t set InitValue on a standard field through a table extension.

Why does this matter?

✅ Nice and simple default for new records
✅ No code needed for your own fields

Small property, easy to forget when you need it.

Share to help others ♻️ and follow for more tips! 🚀

Related Posts