T
TeeSee
This could be confusing!
I have a couple of pop up forms that appear when I click on a button
to add pricing for a specific customer and for a specific item. This
would be a discount from a list price. The first form is okay I think.
The second form "frmCustomerDiscountPU" is a form/subform linked by
field [MaterialSubGroup] The form shows currrently applied discounts
for all cutomers for the [MaterialSubGroup]. All works as expected up
to here.
The problem arises when I realize that the item I am trying to price
out has never been priced for this customer before so I want to add
the discount and effective date to the table that holds the data for
"frmCustomerDiscountPU". I open "frmCustomerDiscountsAdd" and add the
data which is stored correctly to the table but the field
[MaterialSubGroup] on the first record in the table changes to
whatever the [MaterialSubGroup] equals on the form
"frmCustomerDiscountPU" which remains open. If that form is not open
this doesn't happen ( I'm sure there's a hint there)
Is it a nono to have two forms open at the same time bound to the same
table?
Is the answer to this to first close "frmCustomerDiscountPU" before
updating the table?
Why would the first record always change under the conditions above.
Even if the [MaterialSubGroup] is blank it changes the first record to
blank.
Hope this makes sense. Thanks
I have a couple of pop up forms that appear when I click on a button
to add pricing for a specific customer and for a specific item. This
would be a discount from a list price. The first form is okay I think.
The second form "frmCustomerDiscountPU" is a form/subform linked by
field [MaterialSubGroup] The form shows currrently applied discounts
for all cutomers for the [MaterialSubGroup]. All works as expected up
to here.
The problem arises when I realize that the item I am trying to price
out has never been priced for this customer before so I want to add
the discount and effective date to the table that holds the data for
"frmCustomerDiscountPU". I open "frmCustomerDiscountsAdd" and add the
data which is stored correctly to the table but the field
[MaterialSubGroup] on the first record in the table changes to
whatever the [MaterialSubGroup] equals on the form
"frmCustomerDiscountPU" which remains open. If that form is not open
this doesn't happen ( I'm sure there's a hint there)
Is it a nono to have two forms open at the same time bound to the same
table?
Is the answer to this to first close "frmCustomerDiscountPU" before
updating the table?
Why would the first record always change under the conditions above.
Even if the [MaterialSubGroup] is blank it changes the first record to
blank.
Hope this makes sense. Thanks