I have a layout displaying a form. I want to automatically update the field to a particular id based on who has logged in.
The layout contains the field __pkStudentId in tblHours
I have this script on enter of the layout
Set Field By Name [tblHours::__pkStudentId; Get ( AccountName )]
This does not work. Am I doing anything wrong? How to rectify it?