Jump to content
  • 0

Portaalrij


izci

Question

Posted

Ik heb een portaalrij waarin de binnenkomst aantallen staan van een artikel.

 

Stel ik heb 6 portaalrijen, met de aantallen:

 

1. 24

2. 22

3. 16

4. 12

5. 31

6. 18

 

Ik wil dan uitrekenen wat er bij elke portaalrijregel de tot die regel de totaal binnenkomst is.

Dus:

 

2. = 24

3. = 46

4. = 62

5. = 74

6. = 105

 

Groetjes,

 

M.Izci

6 answers to this question

Recommended Posts

  • 0
Posted

Misschien heb je hier wat aan:

 

Field Name: Total

Type: Calculation

Options: Let(Previous = GetNthRecord(Total; Get(RecordNumber) - 1); If(Previous = "?"; 0; Previous) + Quantity)

 

Succes!

  • 0
Posted

Let(Previous = GetNthRecord(Total; Get(RecordNumber) - 1); If(Previous = "?"; 0; Previous) + Quantity)

 

Ik heb voor de veld Total het veld Aantal Artikelen genomen

 

Welke veld moet ik nemen voor Quantity?

 

Portaalrijnr.----Datum inkoop-----Aantal Artikelen--------------Total

 

1.----------------1-2-2009--------------24---------------------------

2.----------------3-4-2009--------------22---------------------------24

3.----------------1-5-2009--------------16---------------------------46

4.----------------2-6-2009--------------12---------------------------62

5.----------------4-7-2009--------------31---------------------------74

6.----------------7-8-2009--------------18---------------------------105

 

Ik wil dus Total kunnen uitrekenen.

 

Groetjes,

 

M.Izci

  • 0
Posted

Ik snap de verwarring. Is dit duidelijker?

 

Let(Vorige= GetNthRecord(Total; Get(RecordNumber) - 1); If(Vorige = "?"; 0; Vorige) + Aantal Artikelen)

 

Groetjes...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...