Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incomatilbe Types.

Status
Not open for further replies.

kamyar

IS-IT--Management
Feb 8, 2002
5
IR
Hi every body,

I want to calculate total of some fields in a rowsetiterate and I cant. I get error.

<jbo:ApplicationModule id=&quot;MypackageModule&quot; configname=&quot;mypackage.MypackageModule.MypackageModuleLocal&quot; releasemode=&quot;Stateful&quot; />
<%int l=0; %>
<jbo:DataSource id=&quot;ds_ord&quot; appid=&quot;MypackageModule&quot; viewobject=&quot;OrdersView&quot; />
<jbo:RowsetIterate datasource=&quot;ds_ord&quot; changecurrentrow=&quot;false&quot; >
<%l=l+ds_ord.getRowSet().getCurrentRow().getAttribute(&quot;Total&quot;); %>
</jbo:RowsetIterate>

I really dont know where the error is. My total column is Number(10)

thanx in adnvace.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top