473,320 Members | 1,744 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,320 software developers and data experts.

Three year Access Query for Accounts Receivable

Hello Guys,

I have a problem that has to do with Aging Accounts Receivable.

I have three tables with customer account numbers, customer names, customer balances for the years 2003, 2004 and 2005. I need to build a query that will provide the account numbers, names and balances for customers who only appear in the 2004 table and another for those who only appear in 2005. Bear in mind that there are customers whos name appear in 2003, 2004 and also 2005 because they may have outstanding balances on their acconts. Then there are also customers who appear in 2005 only because they were only created then. So basically in my 2005 table, i will have 2003 and 2004 accounts (which may or may not have the similar balance because they might have made a payment) and also new accoutns only created in 2005. The same idea exists for the 2004 table which will have accounts created in 2003 also if they are unsettled. I already built a query by joining ro forming a relationship among the three tables by joining them on account number but i find that when i run a query, i do not get any new accounts that were created in 2005. Any ideas how I can work around this big one? Secondly, I need to create a query that will show me the accounts that had some change in the balance (either an increase or a decrease) for 2005. Any help with this monster of a problem would be greatly appreciated.
Mar 7 '07 #1
2 3049
Rabbit
12,516 Expert Mod 8TB
I'm only going to take a small bite out of this one for now.
The 3 tables should not be related at all. Rather they should be appended into one large consolidated table for your purposes.
Mar 7 '07 #2
I'm only going to take a small bite out of this one for now.
The 3 tables should not be related at all. Rather they should be appended into one large consolidated table for your purposes.
Ok thank you Rabbit, I will try what you have said and see if I can make some further progress.
Mar 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: markspace | last post by:
Hi all, I saw a great idea the other day. You can read about it here: http://amitp.blogspot.com/2004/04/c-references-vs-pointers.html Basically, Amit has this receivable class (template,...
6
by: Steven D.Arnold | last post by:
I have a query which does not use column indexes that it should use. I have discovered some interesting behaviors of Postgres which may indicate a bug in the database's query planning. Take a...
2
by: jh8735 | last post by:
I use Access to run reports from various pieces of financial data. The one query that I have been unable to produce, but need is the following: A query that yields all accounts from a person...
5
by: rob | last post by:
Hi to all. I am pretty new to using Access and am having a problem I hope someone can help me with. I want to access a MS-Access database from a web page. I have managed to get it "sort" of...
4
by: Wayne B. Stanley | last post by:
I have a database with records dating back to the year 2001 I want to know how many of each Assembly was tested per year I have fields : TestDate AssemblyNo I am new to access but was able to...
3
by: jannoergaard | last post by:
Hi I want to write a function that can return a sum for a given date range. The same function should be able to return the sum for the same period year before. Let me give an example: The...
6
by: John | last post by:
Hi I have three tables with a common id with which they can be linked. I need to merge them in a way that the resultant table has all records from three tables. Below is what sort of result I am...
7
by: Stephenoja | last post by:
Hello guys I have a database with three tables each containing the following fields, AccountNo, CustomerName, Table2003,Table2004, Table2005. I would like to make a query that will produce the...
0
by: Landaverry | last post by:
I work with Accounts receivable information. We have various databases that break out aged receivables by due date. One report needs to break out over 2 years of data. In order to do this, we...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.