M
Michael Sainz
Hey all,
Have an interesting question here. I have a drop down box that gets its
values from a table called Products that is linked to by a secondary data
source. Its Display is "model" and it's value is "productid". I also have a
text box that is bound to a field called "UnitPrice". All of this is in a
repeating table.
I have a rule that is bound to the drop-down box named Price Lookup. First
action is querying the database table called Products. The second action is
setting a fields value. It takes the UnitPrice field in the Products table
(which it just queried) and sets the UnitPrice field in the primary data
connection. But this has a filter on it, and the filter checks to make sure
that the ProductID from both tables are equal to eachother so that it gets
the correct unit price.
This solution works for the first transaction line. When I try and add a
second one though, it's like it doesn't query the database again or
something and makes the newly selected product on the second like have the
same price as the price on the first line item.
If you guys need any more information, just ask and any help is much
appreciated!
Michael
Have an interesting question here. I have a drop down box that gets its
values from a table called Products that is linked to by a secondary data
source. Its Display is "model" and it's value is "productid". I also have a
text box that is bound to a field called "UnitPrice". All of this is in a
repeating table.
I have a rule that is bound to the drop-down box named Price Lookup. First
action is querying the database table called Products. The second action is
setting a fields value. It takes the UnitPrice field in the Products table
(which it just queried) and sets the UnitPrice field in the primary data
connection. But this has a filter on it, and the filter checks to make sure
that the ProductID from both tables are equal to eachother so that it gets
the correct unit price.
This solution works for the first transaction line. When I try and add a
second one though, it's like it doesn't query the database again or
something and makes the newly selected product on the second like have the
same price as the price on the first line item.
If you guys need any more information, just ask and any help is much
appreciated!
Michael