S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 15, 2020 #1 =sum([price_out]) give error how to sum all parts price in subform
C CJ_London Super Moderator Staff member Local time Today, 08:24 Joined Feb 19, 2013 Messages 17,563 Apr 15, 2020 #3 if priceout is calculated in the form (i.e. price*quantity) you use =sum(price*quantity) also this needs to be in the form header or footer of your subform in a control called say sfInvValue then on your main form you would use =mysubformcontrolname.form.sfInvValue
if priceout is calculated in the form (i.e. price*quantity) you use =sum(price*quantity) also this needs to be in the form header or footer of your subform in a control called say sfInvValue then on your main form you would use =mysubformcontrolname.form.sfInvValue
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #4 CJ_London said: if priceout is calculated in the form (i.e. price*quantity) you use =sum(price*quantity) also this needs to be in the form header or footer of your subform in a control called say sfInvValue then on your main form you would use =mysubformcontrolname.form.sfInvValue Click to expand... i want to give sum of total in marked cell
CJ_London said: if priceout is calculated in the form (i.e. price*quantity) you use =sum(price*quantity) also this needs to be in the form header or footer of your subform in a control called say sfInvValue then on your main form you would use =mysubformcontrolname.form.sfInvValue Click to expand... i want to give sum of total in marked cell
C CJ_London Super Moderator Staff member Local time Today, 08:24 Joined Feb 19, 2013 Messages 17,563 Apr 16, 2020 #5 i want to give sum of total in marked cell Click to expand... assuming your marked cell in on your main form - which it looks like from your image then on your main form you would use =mysubformcontrolname.form.sfInvValue Click to expand...
i want to give sum of total in marked cell Click to expand... assuming your marked cell in on your main form - which it looks like from your image then on your main form you would use =mysubformcontrolname.form.sfInvValue Click to expand...
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #6 CJ_London said: assuming your marked cell in on your main form - which it looks like from your image Click to expand... ok >>>put now by your code become give price not sum
CJ_London said: assuming your marked cell in on your main form - which it looks like from your image Click to expand... ok >>>put now by your code become give price not sum
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #7 CJ_London said: assuming your marked cell in on your main form - which it looks like from your image Click to expand... =([Parts1].[Form]![P_out]) Attachments 111SharedScreenshot.jpg 27.7 KB · Views: 129
CJ_London said: assuming your marked cell in on your main form - which it looks like from your image Click to expand... =([Parts1].[Form]![P_out])
C CJ_London Super Moderator Staff member Local time Today, 08:24 Joined Feb 19, 2013 Messages 17,563 Apr 16, 2020 #8 is that what you want?
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #9 CJ_London said: is that what you want? Click to expand... i want to sum all prices in subform TOTAL PRICES
CJ_London said: is that what you want? Click to expand... i want to sum all prices in subform TOTAL PRICES
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #10 CJ_London said: is that what you want? Click to expand... Attachments 2222SharedScreenshot.jpg 8 KB · Views: 121
C CJ_London Super Moderator Staff member Local time Today, 08:24 Joined Feb 19, 2013 Messages 17,563 Apr 16, 2020 #11 show the control you have on the subform footer
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #12 CJ_London said: show the control you have on the subform footer Click to expand... Attachments 333.jpg 49 KB · Views: 135
S SalmanZeiad Member Local time Today, 10:24 Joined Oct 30, 2017 Messages 112 Apr 16, 2020 #13 thank you,,,FINALY WORKED OK