RE: add an integer to Date the get Date?
From: BerHav (BerHav_at_discussions.microsoft.com)
Date: 07/14/04
- Next message: Lani: "data entry formatting"
- Previous message: Roger Carlson: "Re: add an integer to Date the get Date?"
- In reply to: aa: "add an integer to Date the get Date?"
- Next in thread: Douglas J. Steele: "Re: add an integer to Date the get Date?"
- Reply: Douglas J. Steele: "Re: add an integer to Date the get Date?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 11:09:01 -0700
Hi,
This is sooo simple ;-) Add the credit term to the invoice date.
Just create a query and link both tables through the existing CustomerID - what I expect there is or any other unique identifier.
Create in your query an additional column like DueDate : InvoiceDate + CreditTerm
This works as Dates are nothing other than numbers for Access, Day 1 = 01/Jan/1900. Decimals are the hours, minutes and seconds. E.g. 0.5 = 12:00, 0.25 = 6:00 a.m.
-- HTH Bernd "aa" wrote: > I have a table "Invoices" containing, among other things, the date of the > invoice, as type Date > I have another table "Customers" containing, among other things, the credit > terms for each customer (like 30 days, 60 days etc) as type Integer. > > How do I build a query to show the invoice payment due date, i.e. how do I > add an integer to Date the get Date? > > >
- Next message: Lani: "data entry formatting"
- Previous message: Roger Carlson: "Re: add an integer to Date the get Date?"
- In reply to: aa: "add an integer to Date the get Date?"
- Next in thread: Douglas J. Steele: "Re: add an integer to Date the get Date?"
- Reply: Douglas J. Steele: "Re: add an integer to Date the get Date?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|