C
Capt James Cook
I have a form where users enter an item number to look up what size box
(sm/med/lg, etc) in which to pack it. Then they hit the search button which
opens another form. The second form is based on a "containers" table which
contains the item part number and a container part number. The container
table has fields for length, width, & depth but the data is incomplete.
Users can enter new/corrected dimensions and click the "Calculate Size"
button which makes visible a label "Small", "Med", etc and associated packing
costs. This all works fine.
I would like to check if Length+width+depth is > 0 when the second form is
displayed and if so, automatically run the "CalculateSize_Click()" subroutine.
How can I call a subroutine on a form object?
Thanks
(sm/med/lg, etc) in which to pack it. Then they hit the search button which
opens another form. The second form is based on a "containers" table which
contains the item part number and a container part number. The container
table has fields for length, width, & depth but the data is incomplete.
Users can enter new/corrected dimensions and click the "Calculate Size"
button which makes visible a label "Small", "Med", etc and associated packing
costs. This all works fine.
I would like to check if Length+width+depth is > 0 when the second form is
displayed and if so, automatically run the "CalculateSize_Click()" subroutine.
How can I call a subroutine on a form object?
Thanks