isladogs
Access MVP / VIP
- Local time
- Today, 19:47
- Joined
- Jan 14, 2017
- Messages
- 19,389
Assuming you are using the GetDaysLeave function I provided, it had this syntax: GetDaysLeave(StartDate, EndDate)
So set the record source for the textbox to
where the 2 textboxes are the first & last dates of the holiday request on the form
So set the record source for the textbox to
Code:
=GetDaysLeave(Me.txtStartDate, Me.txtEndDate)
where the 2 textboxes are the first & last dates of the holiday request on the form