[RESOLVED] Total Days Between Two Dates.
Access 2000
Greetings:
I have a form that has three textboxes and a button. The first textbox named “Date” contains a previous date, the second textbox named ”EndDate” will contain the current date. The third textbox named “TotalDays needs to contain the total number of days between “Date” and “EndDate”. The code should run OnClick of the button named “calculate”
Thanks in advance
Resolution:
Me.TotalDays = DateDiff("d", Me.txtDate, Me.EndDate)
Thanks "boblarson"
Access 2000
Greetings:
I have a form that has three textboxes and a button. The first textbox named “Date” contains a previous date, the second textbox named ”EndDate” will contain the current date. The third textbox named “TotalDays needs to contain the total number of days between “Date” and “EndDate”. The code should run OnClick of the button named “calculate”
Thanks in advance
Resolution:
Me.TotalDays = DateDiff("d", Me.txtDate, Me.EndDate)
Thanks "boblarson"
Last edited: