D
Don
I have a form with several unbound text boxes.
txtSTART_DATE
txtEND_DATE
txtTOTAL_WORK_DAYS
txtCURRENT_WORK_DAY
I've used the following code to find the values of the first two text boxes,
but I can't come up with anything to give me the last two.
Me.txtSTART_DATE = DatePart("m", DLookup("[INV_THRU]", "tblDATA")) & "/1/" &
DatePart("yyyy", DLookup("[inv_thru]", "tbldata"))
Me.txtEND_DATE = DateAdd("m", 1, Me.txtSTART_DATE) - 1
I only want to return the total work days (Mon-Fri) for the month. Then I
want to return the current number of work days worked so far, in the month.
Am I asking for something that can't be done? Any help would be appreciated.
txtSTART_DATE
txtEND_DATE
txtTOTAL_WORK_DAYS
txtCURRENT_WORK_DAY
I've used the following code to find the values of the first two text boxes,
but I can't come up with anything to give me the last two.
Me.txtSTART_DATE = DatePart("m", DLookup("[INV_THRU]", "tblDATA")) & "/1/" &
DatePart("yyyy", DLookup("[inv_thru]", "tbldata"))
Me.txtEND_DATE = DateAdd("m", 1, Me.txtSTART_DATE) - 1
I only want to return the total work days (Mon-Fri) for the month. Then I
want to return the current number of work days worked so far, in the month.
Am I asking for something that can't be done? Any help would be appreciated.