Eurico,
Now we know what you want. That's not what you outlined in your first post
though!.

If you haven't got an answer by tomorrow I'll have a go. 

Initially it was insufficient info to diagnose solution though!!

Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Eurico Chagas Filho
Sent: 18 February 2008 17:50
To: 'ProFox Email List'
Subject: RE: Select statement

>OK it is a GL presentation.

>So a positive value is a credit and a negative value is a debit.

>What happens when it takes 1 credit and two or more debits to complete the
>transaction?
>Say Payment  = P + I

>So you might need to have a header table and you are looking to define the
>details of the postings?

I am not sure I follow your trend of though...

Any way, this guy makes several transactions during the day(year), when he
closes
for the day, I create two tables a header for each coin and a child table
with the transactions of that coin during the day.
A transaction involves selling or buying and the exchange rate.
In the header table I have the balance for the day, for all days.
The report shows the results for all coins, the net result. It should show
only the clients with a balance <> 0.00 since forever.

E.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.7/1285 - Release Date: 18-Feb-08
05:50





[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to