Form and sub form Calculations Query

fsagwe

Registered User.
Local time
Yesterday, 23:16
Joined
Jun 22, 2014
Messages
14
I have a form with sub forms . Each sub form has a textboxes getting me a total value of a field. In the main form I want to add a textboxes that will sum up values in the textboxes of the subforms. Help!
 
in the FOOTER of the subform, put a text box to total all recs
=Sum(field)

in the parent form, put a text box to look at this field in the subform footer.
=forms!subform!form!txtBox

(use the BUILDER to get the path name correct!)
 
Hello,

I want to do something similar.

I would like to change the qty when a user wants to withdraw or stock in an item.

How can I go about doing it?

I have attached a rough design of the form and storing the new qty in the table.
 

Attachments

You shouldn't store an on hand quantity, you should always calculate it.
And you are storing Stock In and Stock Out as separate items - again they should be in the same column - Positive values In - Negative values Out.

Please have a good read here http://allenbrowne.com/AppInventory.html for how you should approach this project.

Good luck.
 
Thz for the link and the comment.

I have read it.
I will get coding when I get home.
Any problems I will post back here.

I hope you will be here
 
Hello,

I tried but failed.

My qty textbox shows#Name?, something like that.

What went wrong?
 

Attachments

Users who are viewing this thread

Back
Top Bottom