Epsilon101
Programmer
Hi, i have got a form made from a table called TblMain.
Each record has a date field for date entered.
I have made a field in TblMain to hold the week commenced date.
Just need to figure out how to have a working calculated field in the form so that the calculation saves in tblmain.
The unbound textbox on my form i
So when someone enters the date it calculates the week commence date for monday to sunday setting.
Then it can be saved in the record.
---------------------------------------
Neil
Each record has a date field for date entered.
I have made a field in TblMain to hold the week commenced date.
Just need to figure out how to have a working calculated field in the form so that the calculation saves in tblmain.
The unbound textbox on my form i
Code:
=TblMain!Date+1-Weekday(TblMain!Date,2)
So when someone enters the date it calculates the week commence date for monday to sunday setting.
Then it can be saved in the record.
---------------------------------------
Neil