Conquering Dates

Another hurdle in Access that trips up many a programmer is date calculations. Why should date processing be important to you as an Access programmer? What if you want to know the number of days between two dates, or what if you want to compute the date six months from today? If you are writing an accounting application, you might need to know how long it has been since an item has been ordered. If you are in insurance, you might need to know how long it has been since a claim has been reported. In sales, you might need to track the number of days that have passed since you last called upon a customer. Date processing is an essential part of most applications.

You can begin with some easy intrinsic functions. Table 20.3 shows ...

Get Access 2002 Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.