S
scrawny
Hi!
I am trying to create a form with an embedded subform and have hit a
bit of a snag...
Essentially the form is a quote form with a quote header section and
the subform as the quote lines.
My only difficulty is that when a line is keyed in to the subform, the
price needs to calculate based on a discount figure in the header
section combined with product weight & qty in the lines. This price
needs to end up in the quote lines table.
The discount can also switch between 2 different types of discount
structures (essentially: set rate OR % discount)
Can a subform see the controls in it's parent form?
If so, how do I code so that if/when the radio button is clicked to
switch between a set rate and a % discount, it automatically updates
the prices of all lines?
I am trying to create a form with an embedded subform and have hit a
bit of a snag...
Essentially the form is a quote form with a quote header section and
the subform as the quote lines.
My only difficulty is that when a line is keyed in to the subform, the
price needs to calculate based on a discount figure in the header
section combined with product weight & qty in the lines. This price
needs to end up in the quote lines table.
The discount can also switch between 2 different types of discount
structures (essentially: set rate OR % discount)
Can a subform see the controls in it's parent form?
If so, how do I code so that if/when the radio button is clicked to
switch between a set rate and a % discount, it automatically updates
the prices of all lines?