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

Repeating information on report fields

In my current database, I have a single table which contains order
information such as product, unit price and payment. The payment for
each product is entered in and subtotals and totals are calculated
fields on reports. With this setup our customers pay for each product
in full.

I am trying to divide the table to move payment information to a
related table such that customers can make partial or installment
payments. I managed to divide the tables just fine but all of my
reports then began to show duplicated detail information. If a
customer ordered two products, then each of the products is listed two
time, (or three for three . . . )

When I delete the payment table from the query builder of the report,
the information doesn't repeat anymore, but of course I cannot send out
invoices without the info in the payment table. How do you stop the
repeating details in reports?

Thanks in advance for help.
Judy

Feb 20 '06 #1
2 3199
<jb*****@estimating.org> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
In my current database, I have a single table which contains order
information such as product, unit price and payment. The payment for
each product is entered in and subtotals and totals are calculated
fields on reports. With this setup our customers pay for each product
in full.

I am trying to divide the table to move payment information to a
related table such that customers can make partial or installment
payments. I managed to divide the tables just fine but all of my
reports then began to show duplicated detail information. If a
customer ordered two products, then each of the products is listed two
time, (or three for three . . . )

When I delete the payment table from the query builder of the report,
the information doesn't repeat anymore, but of course I cannot send out
invoices without the info in the payment table. How do you stop the
repeating details in reports?

Thanks in advance for help.
Judy

You haven't said what you would like to appear on the report. One line per
product with the sum of the payments against each, or do you want to see the
complit listing of all payments.
Are you really listing payments against products? Normally you have an
order which may have many products and after the invoice is raised, you can
make part payments against the invoice, rather than the individual products.
But if that's how you want it, then fine.
In any case, the answer to your question may well be subreports - have you
used these?

Feb 20 '06 #2
Thanks so much for your reply. You were right.

To answer your questions, yes all products were paid for in full and
were listed against the products in the original db but I wanted to
redesign such that partial payments could be made, so the payment info
was seperated from the orders into another, related table.

So, my report (invoice) listed all things ususal such as name, address
.....

The the detail section listed all products ordered, quantity, price,
discount; but as long as the report's underlying query had the payment
table in it, then the products ordered were repeated in the detail
section X number of times. Additionally, calculated payment fields
were also processing the payments X number of times. I haven't the
faintest clue as to why but, X=number of items ordered.

A subreport containing the payment information solved all problems. I
didn't want anything from the subreport to show in the invoice so I set
Visible=Off on all items in the subreport. I calculated a total in the
subreport footer, then called that value to the main report.

Thanks again Anthony!

Judy

Feb 27 '06 #3

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

Similar topics

1
by: Uncle Mike | last post by:
Hi all, I can't tell if I'm just being a spaccer, or whether this is tricky. Here goes. (Please note - this is a dummy example, for ease of explaining.) So, I have a table with three...
3
by: Chuck | last post by:
Hi, I have a somewhat unique problem (at least unique to me, and I've been doing this for longer than I care to admit). I have a client that needs to print cards onto perforated card stock (so...
2
by: Alpha | last post by:
I have a C# program that user would select several search criteria and then outputs to the Crystal Report. A message is output to user if no matching record is found. In my code I also clear,...
4
by: Kosmos | last post by:
Hey guys...as a relatively new programmer, I try to give back where I can. Below is the code for a useful program I believe many of you could use...just don't use the same exact code because...well I...
2
by: pmarisole | last post by:
I am trying to write a report that displays a hierarchy such as: Director, Manager, Employee I want to suppress the repeating Director, Manager for the employees. This is my code: sSQL =...
1
Altius
by: Altius | last post by:
Access Version: 2003 OS: XP Pro Sorry if this is a bit long winded. First a little info about the database. This database is used to keep track of checkout information from our production...
1
by: mmelady | last post by:
Hello everyone, I am a first time user of The Scripts (although I have taken many useful tidbits back to my desk from other discussions). I am currently developing a database that will track...
0
by: EManning | last post by:
Using 2003. I've got a main report with a subreport and within that subreport is another subreport, all bound. The detail in the 2nd subreport is repeated multiple times for some reason. The...
0
by: marcellus7 | last post by:
Hows it going everyone. Im pretty new to Crystal Reports, and am in the process of trying to setup my first Crystal Report in my windows app. I am loading data from a DataSet, and am finally getting...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...

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.