J
jeffwoiton
I am trying to create a custom sales order sheet which calls data from
an XML table originally created in Access. What I want to do is select
a product description from a listbox in one column and have it populate
the unit price into a textbox in the next column.
My table looks kinda like this (simplified):
WidgetX, $100
WidgetY, $200
WidgetZ, $300
So if the users select WidgetY from the listbox, I want it to put $200
in the Unit Price textbox. I can't seem to figure out how to do this,
InfoPath seems to want to return the first item in the unitPrice field
($100, in this example).
On top of that, I want users to be able to have multiple listboxes in
order to put multiple items on the sales order, all of them calling
from the same XML list, but when I tried doing that all the listboxes
are linked and I get the same choice in all my listboxes. I want each
listbox to have a discrete choice, and send the corresponding unitPrice
into a textbox to its right. From there, I know how to sum it up, add
sales tax, etc., but this part baffles me.
I'm pretty smart and stuff but can't seem to figure this one out.
Anyone ever do this before?
an XML table originally created in Access. What I want to do is select
a product description from a listbox in one column and have it populate
the unit price into a textbox in the next column.
My table looks kinda like this (simplified):
WidgetX, $100
WidgetY, $200
WidgetZ, $300
So if the users select WidgetY from the listbox, I want it to put $200
in the Unit Price textbox. I can't seem to figure out how to do this,
InfoPath seems to want to return the first item in the unitPrice field
($100, in this example).
On top of that, I want users to be able to have multiple listboxes in
order to put multiple items on the sales order, all of them calling
from the same XML list, but when I tried doing that all the listboxes
are linked and I get the same choice in all my listboxes. I want each
listbox to have a discrete choice, and send the corresponding unitPrice
into a textbox to its right. From there, I know how to sum it up, add
sales tax, etc., but this part baffles me.
I'm pretty smart and stuff but can't seem to figure this one out.
Anyone ever do this before?