Christopher Browne <[EMAIL PROTECTED]> writes: > This generality interferes with the possibility of having an SQL > engine do the calculation for you, via: > select sum( value ) from txntable where currency = "USD" > and date = something; I'm not SQL-literate, but it seems pretty clear that your example would work just as well in the case where numerator and denominator are stored separately. You are selecting the currency name as a "validation gate" where you could just as easily check the currency in the account, once, and test that all denominators are the same (they must be) before summing the numerators. Bill Gribble -- Gnucash Developer's List To unsubscribe send empty email to: [EMAIL PROTECTED]
- Re: RFC : Correcting some pr... Randolph Fritz
- Re: RFC : Correcting some pr... Richard Wackerbarth
- Re: RFC : Correcting some pr... Randolph Fritz
- Re: RFC : Correcting some pr... Clark Jones
- Re: RFC : Correcting some pr... Hendrik Boom
- Re: Units Richard Wackerbarth
- Re: RFC : Correcting some pr... Richard Wackerbarth
- Re: RFC : Correcting some pr... Terry Boldt
- Re: RFC : Correcting some pr... Richard Wackerbarth
- Re: RFC : Correcting some pr... Christopher Browne
- RE: RFC : Correcting some proble... Bill Gribble
- RE: RFC : Correcting some problems in rounding/number ... Buddha Buck
- Re: RFC : Correcting some problems in rounding/nu... Bill Gribble
- Re: RFC : Correcting some problems in roundin... Richard Wackerbarth
- Re: RFC : Correcting some problems in rou... Bill Gribble
- Re: RFC : Correcting some problems in... Richard Wackerbarth
- Re: RFC : Correcting some problems in rou... Jon Trowbridge
- Re: RFC : Correcting some problems in... Richard Wackerbarth
- Re: RFC : Correcting some problems in... Dylan Paul Thurston
- Re: RFC : Correcting some proble... Christopher Browne
- Re: RFC : Correcting some pr... Dave Peticolas
