Hi every body,
I want to calculate total of some fields in a rowsetiterate and I cant. I get error.
<jbo:ApplicationModule id="MypackageModule" configname="mypackage.MypackageModule.MypackageModuleLocal" releasemode="Stateful" />
<%int l=0; %>
<jboataSource id="ds_ord" appid="MypackageModule" viewobject="OrdersView" />
<jbo:RowsetIterate datasource="ds_ord" changecurrentrow="false" >
<%l=l+ds_ord.getRowSet().getCurrentRow().getAttribute("Total" %>
</jbo:RowsetIterate>
I really dont know where the error is. My total column is Number(10)
thanx in adnvace.
I want to calculate total of some fields in a rowsetiterate and I cant. I get error.
<jbo:ApplicationModule id="MypackageModule" configname="mypackage.MypackageModule.MypackageModuleLocal" releasemode="Stateful" />
<%int l=0; %>
<jboataSource id="ds_ord" appid="MypackageModule" viewobject="OrdersView" />
<jbo:RowsetIterate datasource="ds_ord" changecurrentrow="false" >
<%l=l+ds_ord.getRowSet().getCurrentRow().getAttribute("Total" %>
</jbo:RowsetIterate>
I really dont know where the error is. My total column is Number(10)
thanx in adnvace.