C
Carla Uriona
Full disclosure: The last time I worked on Access was in 1997 
Guys, I need a little help. I'm trying to accomplish something similiar to what was posted earlier: I'd like to have 3 fields: "Original Date" (standard date... 00/00/00), Add Days (user would enter a number... e.g., "2", and "Cut off Date" (calculates, but doesn't store, Original Date plus Add Days' number, in working days) and displays the value into "Cut off Date."
My problems are many. To start, I am not sure how to call up the module that Dirk references (http://www.mvps.org/access/datetime/date0012.htm) into my form. I copy/pasted it using VB, and named it something, but can't figure out how to associate it from the form I created. Once I've save it, how do I find it and link it to my form?
Second, I suspect the above code doesn't quite address how I would use a second user input field for how many days to add.
Also, I can't figure out how to implement Dirk's suggestion to: "With the functions posted there saved in a standard module, you could set
the controlsource of CutoffDate to
=dhAddWorkDaysA(10, [OriginalDate])".
I went to the field in my form (called Cut off date), clicked on its properties, clicked in control source for that field, and pasted in Dirk's language: =dhAddWorkDaysA(10, [OriginalDate])
It wouldn't accept it. I tried using expression builder but to no avail.
I feel as if I'm missing many, many basic things here. If my question is too involved, please feel free to ignore.

Guys, I need a little help. I'm trying to accomplish something similiar to what was posted earlier: I'd like to have 3 fields: "Original Date" (standard date... 00/00/00), Add Days (user would enter a number... e.g., "2", and "Cut off Date" (calculates, but doesn't store, Original Date plus Add Days' number, in working days) and displays the value into "Cut off Date."
My problems are many. To start, I am not sure how to call up the module that Dirk references (http://www.mvps.org/access/datetime/date0012.htm) into my form. I copy/pasted it using VB, and named it something, but can't figure out how to associate it from the form I created. Once I've save it, how do I find it and link it to my form?
Second, I suspect the above code doesn't quite address how I would use a second user input field for how many days to add.
Also, I can't figure out how to implement Dirk's suggestion to: "With the functions posted there saved in a standard module, you could set
the controlsource of CutoffDate to
=dhAddWorkDaysA(10, [OriginalDate])".
I went to the field in my form (called Cut off date), clicked on its properties, clicked in control source for that field, and pasted in Dirk's language: =dhAddWorkDaysA(10, [OriginalDate])
It wouldn't accept it. I tried using expression builder but to no avail.
I feel as if I'm missing many, many basic things here. If my question is too involved, please feel free to ignore.