Free Lessons Courses Seminars TechHelp Fast Tips Templates Topic Index Forum ABCD

 Home   Courses   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon More... What's New? Popular Links ------------ Access Courses Access Index Access TechHelp Access Forum ------------ Excel Courses Excel Index ------------ Code Vault Testimonials

 Home > TechHelp > Directory > Access > Next Business Day < Subdatasheets | Quick Queries >
By Richard Rost     7 months ago

How to Find the Next Business Day in MS Access

S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark

In this Microsoft Access tutorial I'm going to teach you how to calculate the next business day following any date in your queries. Then we'll also use the same logic to calculate the previous business day.

Aimee from El Paso, Texas (a Platinum Member) asks: I need to be able to calculate the next business day following an order date. For example if the order comes in on a Saturday I need the following Monday. How can I do this?

# Members

Members will learn how to create a VBA function to calculate next and previous business day so that function can be used anywhere in the database including forms and reports.

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!

# The Code

• D: CustomerSince
• WD: Weekday(D)
• WDN: WeekdayName(WD)
• NextBizDay: IIf(Weekday([D])=6,[D]+3,IIf(Weekday([D])=7,[D]+2,[D]+1))
• NWD: Weekday([NextBizDay])
• NWDN: WeekdayName([NWD])
• PrevBizDay: IIf(Weekday([D])=2,[D]-3,IIf(Weekday([D])=1,[D]-2,[D]-1))
• PWD: Weekday([PrevBizDay])
• PWDN: WeekdayName([PWD])

# Resources

Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted

# Keywords

access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, next business day, previous business day, next biz day, prev biz day, nextbizday, prevbizday

 Age Subject From 7 months Next Business Day Full Text Richard Rost

Start a NEW Conversation