PC Review


Reply
Thread Tools Rate Thread

How to create a ledger sheet

 
 
studlength@hotmail.com
Guest
Posts: n/a
 
      27th Mar 2007
Hello. I have a database with the following tables:
Customers, Orders, and Payments
The Customers table has a one-to-many relationship with the Orders
table. The Customers table also has a one-to-many relationship with
the Payments table.
I am trying to create what I think is commonly called a ledger sheet.
This sheet simply shows the dollar amount of every order that an
individual customer has placed (debits) and every payment that the
customer has made (credits). It also shows a running balance. Entries
are shown in chronilogical order.
I am having trouble creating a report that would draw debits from the
Orders table and credits from the Payments table. I have had good luck
in the past using queries as sources for reports but I can't figure
this one out. I would like someone to tell me if I am structuring this
thing correctly and how to create the report I need. I would be happy
to supply any further info necessary. Thanks.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      28th Mar 2007
I'm not a guru as some here but I'll try.

you may need to check out what type of relationship you have in your query.
There's the deal with inner and outer joins that may help you understand how
to get orders without payments to show.

http://www.databasedev.co.uk/query_joins.html

Chris

"(E-Mail Removed)" wrote:

> Hello. I have a database with the following tables:
> Customers, Orders, and Payments
> The Customers table has a one-to-many relationship with the Orders
> table. The Customers table also has a one-to-many relationship with
> the Payments table.
> I am trying to create what I think is commonly called a ledger sheet.
> This sheet simply shows the dollar amount of every order that an
> individual customer has placed (debits) and every payment that the
> customer has made (credits). It also shows a running balance. Entries
> are shown in chronilogical order.
> I am having trouble creating a report that would draw debits from the
> Orders table and credits from the Payments table. I have had good luck
> in the past using queries as sources for reports but I can't figure
> this one out. I would like someone to tell me if I am structuring this
> thing correctly and how to create the report I need. I would be happy
> to supply any further info necessary. Thanks.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i design a ledger size (11 x 17) spread sheet in excell dan Microsoft Excel Misc 1 7th Dec 2007 12:02 AM
Program to accummulate data on ledger sheet =?Utf-8?B?Q29vcA==?= Microsoft Excel Programming 0 9th Jun 2006 03:04 PM
How do I create a ledger sheet =?Utf-8?B?Q1Jvc3M=?= Microsoft Excel Misc 0 25th Jan 2006 08:42 PM
RE: Make a 7 column ledger sheet =?Utf-8?B?UGV0ZXJBdGhlcnRvbg==?= Microsoft Excel Misc 0 28th Jul 2005 11:58 PM
Microsoft Access ledger sheet use... Eileen Hosie Microsoft Access Database Table Design 0 11th Aug 2003 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:24 AM.