Hi,
You will have to process the data in the cursor and update the last field.
Something like this
lnClientid = 0
lnCfValue = 0
Scan
If Cursor.clientid <> lnClientid &&Then we are processing a new client
lnCfValue = Cursor.Value
lnClientid = Cursor.clientid
Else
lnCfValue = lnCFValue + Cursor.Value
Relace value with lnCfValue in Cursor
Endif
Endscan
I hope you were asking this only.
Ajoy Khaund
Neamati Road
Near Bhogdoi Bridge
Jorhat 785 001
Assam, India
Tel: 91-376-2351288
Cell: 91-94350-92287
Mail: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Walking on water and developing software from a specification are easy if
both are frozen."
- Edward V. Berard, "Life-Cycle Approaches"
--------------------------------------------------
From: "Eurico Chagas Filho" <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2008 5:46 PM
To: <[EMAIL PROTECTED]>
Subject: Report values
>
> Hi
>
> I have this;
>
> Client dtaMov Value
> 1 01/01/01 100
> 1 02/01/01 50
> 1 03/01/01 100
> 2 01/01/01 200
> 3 15/01/01 300
>
> but I need to do something like this;
>
> Client dtaMov Value
> 1 01/01/01 100
> 1 02/01/01 150
> 1 03/01/01 250
> 2 01/01/01 200
> 3 15/01/01 300
>
> The value must add the last value each cycle.
>
> How can I do it ?
>
> TIA, E.
>
>
>
[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.