473,395 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Customer keeping track of invoices received and paid.

I am trying to figure out the best way to get an alert in my Access 2002
Database when an invoice that is for an active vendor has not been received.

Ex. I receive invoices on a daily bases. If an invoice was received last
month, it is assumed that if the account number from that vendor is active, I
am waiting to receive the invoice.

Does anyone have any idea on how I can go about doing this? If I am not
clear, please ask me questions and I will do my best to answer.

I don't do programming; but I am pretty good with setting up basic stuff in
the database.

Any help is greatly appreciated.

Lori
Dec 20 '05 #1
2 2480
Lori,
I am guessing that if they paid the 15th of last month, you would like
a warning on the 15th of this month if they didn't pay
I don't know what you tables look like, but this example may help.

tInvoices
InvoiceDate | CustomerName
------------------------------------------
11/20/05 | Fred's Auto
11/21/05 | Freda's Deli

This query will give you everyone who has not paid within the current
monthly period, and who had an invoice a month ago.
If you make this into a query and then a report, just run at the end of
your day for your warnings.

SELECT DateAdd("m",1,Max([InvoiceDate])) AS DueDate,
tInvoices.CustomerName
FROM tInvoices
GROUP BY tInvoices.CustomerName
HAVING (((DateAdd("m",1,Max([InvoiceDate]))) Between
DateAdd("m",-1,Date()) And Date()));
HTH

Dec 20 '05 #2
Assuming each invoice has a due date and a paid date, you could open a
report when your database opens and set the filters for the report to
be something like

WHERE DueDate<Date+7
AND DatePaid Is Null

Then in the OnNoData event of the report, you can cancel the open
event. (In other words, if there's no data for the report's
recordsource (a query, probably), then the report will just close.
Otherwise, the items that are coming due or are overdue will show up.

Dec 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: The Blob | last post by:
Hi all, I need sone help on generating a SQL statement i had 3 tables now Customer >> Name >> Acct No >> Address
8
by: Dica | last post by:
i've got a client that wants to be able to review records about IIS generated emails. in his own words, he wants the "ability to track and report message status (i.e. how many messages were sent...
2
by: tom | last post by:
Hi, I have built an Access DB for a child care business. Family table stores the Family info. Room the different room names, capacity etc. Price stores the various price codes and amounts. The...
4
by: Jeremy Weiss | last post by:
Thanks to much help from everyone in my previous thread, I've made it a pretty fair ways into my billing/invoicing db. I'm now needing a way to cycle through all the records in a table and create...
5
by: Alan Webb | last post by:
Guys, I get this: Regular Hours are any hours less than the number of hours that can be worked before the hours begin to be counted as overtime in the period. Overtime Hours are any hours...
7
by: thanhphong122 | last post by:
I have two tables: - CustomerID(CustID,CustName) - Invoice(CustID,InvoiceID,InvoiceDate) How can i get a table that has 5 latest invoices (based on InvoiceDate) for each customer. Example: The...
3
by: dancole42 | last post by:
I'm self-taught in Access, and as such I'm missing large chunks of knowledge, so I'm hoping someone here with some training can help me. Right now I have an Invoice form with a Customer subform....
6
by: jdcallejas | last post by:
Hello, I am creating a database for my apartment complex. I have been able to desing it up to invoices... Now I am wondering how to make payments for the invoices. I wanted to have it like...
5
by: msrobotto | last post by:
Past Due Boxes: 30/60/90/etc Hi! I am working on creating an Accounts Receivable database, and I want to be able to automatically generate statements for my customers. The statements need to list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.