473,799 Members | 3,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Aging report problem.

Ron
Hi All,

I've got a client/transaction type of database where tblClient is linked to
tblTransactions via ClientID. The client table contains all clients from
day one. The transaction table contains all transactions from day one
(includes any purchases, labor charges, payments, adjustments) The aging
report I developed works fine, except...

For any client that owes money, it lists ALL the transactions for that
client. Or, it lists all the transactions for a client where the dates of
entry are between 2 dates I have the operator input. But I really want it
more open--I want it to list only transactions that haven't been
paid/adjusted yet regardless of some arbitrary date the operator can input.
So, I want a report go through the transactions and find the first
transaction where the balance is not equal zero and start there on the aging
detail.

Example would be where Jane Smith has had 22 transactions but the 1st 18
equal 0 and just happen to have happened prior to March 2007, so she's got
just 4 that she still owes money on, and that's all I want to show on the
aging report--transactions since March 2007. Then John James has had 6
transactions and all are still owed and they date back to June of 2006--all
should appear on the aging. And Bill Adams has 11 transactions, the 1st 9
of which equals 0 and the last 2, from Sept 2007 are still owed and those
should appear, the first 9 shouldn't. Follow?

How can I pull out only the "unresolved " transactions?

TIA,
ron
Oct 26 '07 #1
4 2146
Ron,
Are you basing your report on a query?
Have you applied a criteria like "Balance <0" to that query?
Perhaps you could post the SQL.

--
Bob Darlington
Brisbane
"Ron" <ro************ ********@verizo n.netwrote in message
news:9qaUi.1542 3$uE4.13993@trn ddc07...
Hi All,

I've got a client/transaction type of database where tblClient is linked
to tblTransactions via ClientID. The client table contains all clients
from day one. The transaction table contains all transactions from day
one (includes any purchases, labor charges, payments, adjustments) The
aging report I developed works fine, except...

For any client that owes money, it lists ALL the transactions for that
client. Or, it lists all the transactions for a client where the dates of
entry are between 2 dates I have the operator input. But I really want it
more open--I want it to list only transactions that haven't been
paid/adjusted yet regardless of some arbitrary date the operator can
input. So, I want a report go through the transactions and find the first
transaction where the balance is not equal zero and start there on the
aging detail.

Example would be where Jane Smith has had 22 transactions but the 1st 18
equal 0 and just happen to have happened prior to March 2007, so she's got
just 4 that she still owes money on, and that's all I want to show on the
aging report--transactions since March 2007. Then John James has had 6
transactions and all are still owed and they date back to June of
2006--all should appear on the aging. And Bill Adams has 11 transactions,
the 1st 9 of which equals 0 and the last 2, from Sept 2007 are still owed
and those should appear, the first 9 shouldn't. Follow?

How can I pull out only the "unresolved " transactions?

TIA,
ron

Oct 26 '07 #2
On Oct 25, 7:21 pm, "Ron" <ronSPAMBLOCKIN Gwest...@verizo n.netwrote:
Hi All,

I've got a client/transaction type of database where tblClient is linked to
tblTransactions via ClientID. The client table contains all clients from
day one. The transaction table contains all transactions from day one
(includes any purchases, labor charges, payments, adjustments) The aging
report I developed works fine, except...

For any client that owes money, it lists ALL the transactions for that
client. Or, it lists all the transactions for a client where the dates of
entry are between 2 dates I have the operator input. But I really want it
more open--I want it to list only transactions that haven't been
paid/adjusted yet regardless of some arbitrary date the operator can input.
So, I want a report go through the transactions and find the first
transaction where the balance is not equal zero and start there on the aging
detail.

Example would be where Jane Smith has had 22 transactions but the 1st 18
equal 0 and just happen to have happened prior to March 2007, so she's got
just 4 that she still owes money on, and that's all I want to show on the
aging report--transactions since March 2007. Then John James has had 6
transactions and all are still owed and they date back to June of 2006--all
should appear on the aging. And Bill Adams has 11 transactions, the 1st 9
of which equals 0 and the last 2, from Sept 2007 are still owed and those
should appear, the first 9 shouldn't. Follow?

How can I pull out only the "unresolved " transactions?

TIA,
ron
did you ever get an answer to this? did it work? I have a similar
problem

Nov 8 '07 #3
Ron
<se***********@ gmail.comwrote in message
news:11******** *************@s 15g2000prm.goog legroups.com...
On Oct 25, 7:21 pm, "Ron" <ronSPAMBLOCKIN Gwest...@verizo n.netwrote:
>Hi All,

I've got a client/transaction type of database where tblClient is linked
to
tblTransaction s via ClientID. The client table contains all clients from
day one. The transaction table contains all transactions from day one
(includes any purchases, labor charges, payments, adjustments) The aging
report I developed works fine, except...

For any client that owes money, it lists ALL the transactions for that
client. Or, it lists all the transactions for a client where the dates
of
entry are between 2 dates I have the operator input. But I really want
it
more open--I want it to list only transactions that haven't been
paid/adjusted yet regardless of some arbitrary date the operator can
input.
So, I want a report go through the transactions and find the first
transaction where the balance is not equal zero and start there on the
aging
detail.

Example would be where Jane Smith has had 22 transactions but the 1st 18
equal 0 and just happen to have happened prior to March 2007, so she's
got
just 4 that she still owes money on, and that's all I want to show on the
aging report--transactions since March 2007. Then John James has had 6
transactions and all are still owed and they date back to June of
2006--all
should appear on the aging. And Bill Adams has 11 transactions, the 1st
9
of which equals 0 and the last 2, from Sept 2007 are still owed and those
should appear, the first 9 shouldn't. Follow?

How can I pull out only the "unresolved " transactions?

TIA,
ron

did you ever get an answer to this? did it work? I have a similar
problem
I received one reply:

Ron,
Are you basing your report on a query?
Have you applied a criteria like "Balance <0" to that query?
Perhaps you could post the SQL.

--
Bob Darlington
Brisbane
But... haven't had a chance to even look at it really. I don't have a field
for "balance" as it's a running sum, and not saved anywhere. I still don't
know how I'd find the first unpaid charge and start the display from there.
I just went on to more pressing matters and figured I'd revisit when I have
time. Untill then, I'm mulling it over--that's sometimes when I do my best
work. ::grin::

Good luck to you in finding a solution though. I'll post mine, when/if I
come up with it...please do the same.

Thanks,
ron
Nov 9 '07 #4
On Nov 8, 6:56 pm, "Ron" <ronSPAMBLOCKIN Gwest...@verizo n.netwrote:
<sergia.dup...@ gmail.comwrote in message

news:11******** *************@s 15g2000prm.goog legroups.com...
On Oct 25, 7:21 pm, "Ron" <ronSPAMBLOCKIN Gwest...@verizo n.netwrote:
Hi All,
I've got a client/transaction type of database where tblClient is linked
to
tblTransactions via ClientID. The client table contains all clients from
day one. The transaction table contains all transactions from day one
(includes any purchases, labor charges, payments, adjustments) The aging
report I developed works fine, except...
For any client that owes money, it lists ALL the transactions for that
client. Or, it lists all the transactions for a client where the dates
of
entry are between 2 dates I have the operator input. But I really want
it
more open--I want it to list only transactions that haven't been
paid/adjusted yet regardless of some arbitrary date the operator can
input.
So, I want a report go through the transactions and find the first
transaction where the balance is not equal zero and start there on the
aging
detail.
Example would be where Jane Smith has had 22 transactions but the 1st 18
equal 0 and just happen to have happened prior to March 2007, so she's
got
just 4 that she still owes money on, and that's all I want to show on the
aging report--transactions since March 2007. Then John James has had 6
transactions and all are still owed and they date back to June of
2006--all
should appear on the aging. And Bill Adams has 11 transactions, the 1st
9
of which equals 0 and the last 2, from Sept 2007 are still owed and those
should appear, the first 9 shouldn't. Follow?
How can I pull out only the "unresolved " transactions?
TIA,
ron
did you ever get an answer to this? did it work? I have a similar
problem

I received one reply:

Ron,
Are you basing your report on a query?
Have you applied a criteria like "Balance <0" to that query?
Perhaps you could post the SQL.

--
Bob Darlington
Brisbane

But... haven't had a chance to even look at it really. I don't have a field
for "balance" as it's a running sum, and not saved anywhere. I still don't
know how I'd find the first unpaid charge and start the display from there.
I just went on to more pressing matters and figured I'd revisit when I have
time. Untill then, I'm mulling it over--that's sometimes when I do my best
work. ::grin::

Good luck to you in finding a solution though. I'll post mine, when/if I
come up with it...please do the same.

Thanks,
ron
Just some thoughts to add to your mulling...

In real life, do charges group into what might be called an invoice?
If so, it would seem logical to represent an invoice in the database
with a table that unites clients and transactions. Then your
transactions can be summed up at the invoice level to reveal invoices
with a non-zero balance.

Alternatively, I'm thinking there probably is some way to sequentially
analyze client transactions and, upon finding a running balance of
zero, mark said transactions as "resolved". Then you can exclude
resolved transaction in further analysis. VBA might be the path of
least resistance here since you can pluck records one at a time and
keep tabs on the sums. The more I think about it though, trying to
mark individual transactions as resolved might get you into trouble
if, say, a dyslexic client pays $98 on an $89 balance. How will you
propagate the credit forward to future transactions?

Returning to the invoice concept, credit balances can be adjusted on
individual invoices and "transferre d" to other invoices needing
payment.

Enough mulling for me... Hope this helps!

Nov 10 '07 #5

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

Similar topics

2
2384
by: GC | last post by:
HI, I'am using Crystal Report with visual Studio .NEt 2003 When i make a report using a store procedure, I can not see all the fields of the store proc and i'm suppose to see those fields. I'm suppose to see a "+" sign at the left of the store procedure name in the Field Explorer section When we click on the sign "+" we see all the field of the store proc. We can from there select and drag those fileds on the report.
4
7063
by: deko | last post by:
I can't move a multi-page report to the last record unless I keep the popup form (that defined it's subreports) open. DoCmd.OpenReport "rptStandard", acViewNormal DoCmd.Close acForm, "frmReportOptions" <== popup form This is the error I get when I try to move to the last page of the report *after* closing the popup: "This expression is typed incorectly, or is too complex to be evaluate...."
7
2631
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does not Work' It appears that the type of object returned from the "AllReports" collection is not a report object. =>> I need it to be an object of type report.
9
1785
by: MLH | last post by:
Trouble is, it doesn't happen every time. Yesterday, for example, it happened only once and not again afterward. Some days ago, a similar situation. Today, well - I tried 7 times straight to open the report and each time, A97 shuts down. The seemingly hit 'n miss nature of the error is intriguing. All I've been able to determine is that if I allow the report to be opened from within code using this line... DoCmd.OpenReport...
12
10415
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission @salesdate as varchar(20),
0
1200
by: Treas4ever | last post by:
Hi, dudes. Do you use any anti wrinkle solutions? I've bought revitol anti aging, but don't know if it is safe or not. Maybe someone has used it? ---------------------------------- http://community.ihostasp.net ASP.NET Developer Community
5
1577
by: Justin Fancy | last post by:
Hi Everyone, I am developing a file aging program that will eventually report on every folder that is in the root directory. I have a list of requested years, and counters set up to count every file within every subfolder to add up all the files from the specified year. I have the functionality working, but not quite. With the following code, the end result includes folders within subfolders. For example, instead of having root/folder1/...
1
1824
by: robospy | last post by:
Hi What is variable aging? I was asked this question by some friend related to C discussions. Robo
1
2164
by: CandK | last post by:
Need help please to count cases from entered date which fall in aging range: <= 0 to 5 days, = 6 to 7 days, = 7 to 10 days and = 10+ days. Worked hard to use combination of DateAdd and DateDiff formulas but it either pulls all the records or I get error messages. It's all probably simple to do and I may have been close but just frustrated now. Need for report ... please help. Thanks.
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.