I am still struggling with a date to be inserted in a database. How can I refresh the below before I submit the form.?
Issue:
Time now is 9:32 am. If I update the record, Date/Time is properly inserted in the Sql server.
But in a given scenario, where I leave the application open and come back in 1 hr, when it is now 10:32 am, the variables are still 9:32 on the screen ( normal) and the record is being updated with that time which is wrong.
I want a refresh of the Date/Time fields below when I press on the Update Button, just before the SubmitForm( Form1) is executed. Please assist me with the codes to be inserted prior. Thanks.