oxicottin
Learning by pecking away....
- Local time
- Today, 07:08
- Joined
- Jun 26, 2007
- Messages
- 888
Hello, I have an attendance database and I want to be able to copy the current entry and its data for how ever many times specified in a text box named (txtRepeatForDays). I also have a date field named txtAbsenceDate that gives the date I selected. I just want to loop through however many days duplicating the info EXCEPT each new record I need the txtAbsenceDate to be the next days date.
Example:
txtRepeatForDays = 3
txtAbsenceDate = 7/15/20
record 1 = 7/15/20
record 2 = 7/16/20
record 3 = 7/17/20
Example:
txtRepeatForDays = 3
txtAbsenceDate = 7/15/20
record 1 = 7/15/20
record 2 = 7/16/20
record 3 = 7/17/20