Note - you can't use the InitValue property for what you want to do because this can only be used to default to fixed values and what you want to do is default to a dynamic value (based on the current day of the week) so that's why you have to do it via the above code.
Answers
https://rockwithnav.wordpress.com/2016/04/14/handle-datetime-use-dotnet-variable/
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Are you inserting data in a Table and then you want to insert a day of the Week or something else?
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
2) In the InitRecord function, add the following line of code... 3) On the Page where uses create new records, call the InitRecord function in the OnNewRecord trigger
4) If you are adding records in code, then...