travel-net
Posts: 56
|
| Posted: 10/11/2004, 6:45 AM |
|
hello,
I'm trying to sum a field, but the outcome gives bad values.
In my bind events i have placed.
$klant_abonn_tbl->sum_bedrag->CCSEvents["BeforeShowRow"] = "klant_abonn_tbl_sum_bedrag_BeforeShowRow";
And then in the BeforeShowRowEvent
$klant_abonn_tbl->sum_bedrag->SetValue($klant_abonn_tbl->sum_bedrag->GetValue() + $klant_abonn_tbl->abo_bedrag->GetValue() + $klant_abonn_tbl->a_abo_bedrag->GetValue() );
I played with different placings and setting etc. but i'm lost.
Regards,
Frans
|
 |
 |
klwillis
Posts: 428
|
| Posted: 10/11/2004, 7:16 AM |
|
Summing several fields and then placing the results in a final
calculated field should work.
Did you make sure to set the field data type to either Float or Integer.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
frans
|
| Posted: 10/11/2004, 11:57 PM |
|
Yes, type is float. I had it in other pages, but this one isn't.
Regards,
Frans
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 10/12/2004, 6:19 PM |
|
So, you solved the problem? 
Quote frans:
Yes, type is float. I had it in other pages, but this one isn't.
Regards,
Frans
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
Frans
|
| Posted: 10/12/2004, 11:55 PM |
|
No, Alex A from YesSupport is looking at it.
regards,
Frans
|
|
|
 |
|