If it is a field of a table, I would create a function in the table "InitRecord" and I would call this function from the "Form - OnNewRecord"-trigger on the form that uses the record.
With the function it is a lot more structured and in case you need to add a field or change the value, you do it in 1 point and all forms using it are ok.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
If it's a field in a table, you can do it in OnInsert, or use the InitValue property!
Regards!
With the function it is a lot more structured and in case you need to add a field or change the value, you do it in 1 point and all forms using it are ok.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!