P
Patrick
All,
I need some help. I am having a hard time unstanding the usage of the
current function. Basically I am altering the Purchase order template
from Microsoft to suit my needs. The problem I am coming across is how
to correctly use the current function. If you check out the infopath
Purchase order template you will see a repeating section with the field
part number in the repeating section. Basically I want the field
description to auto fill in the part number. I can get it to populate
but obviously only the first table of the repeating field is filled out
properly, and that value is carried over to every other additional
inserted table. So my quesiton is how do I use the current function?
My the value from my sql database that the decription in bound to is
called Part_name. The rule is as seen below with the destination field
on the form as partNumber. I kept it the same as the template.
@Part_Number[@Part_Name = description]
The XPATH looks like this
xdXDocument:GetDOM("Van
Layout")/dfs:myFields/dfs:dataFields/dfs:van_layout/@Part_Number[../@Part_Name
=
xdXDocument:get-DOM()/pourchaseOrder/porder/po:items/po:item/po:description]
Where and how do I use the current function. I have searched and
seached and none of the examples or posts I have found make much sense.
Any instructors out there?
I need some help. I am having a hard time unstanding the usage of the
current function. Basically I am altering the Purchase order template
from Microsoft to suit my needs. The problem I am coming across is how
to correctly use the current function. If you check out the infopath
Purchase order template you will see a repeating section with the field
part number in the repeating section. Basically I want the field
description to auto fill in the part number. I can get it to populate
but obviously only the first table of the repeating field is filled out
properly, and that value is carried over to every other additional
inserted table. So my quesiton is how do I use the current function?
My the value from my sql database that the decription in bound to is
called Part_name. The rule is as seen below with the destination field
on the form as partNumber. I kept it the same as the template.
@Part_Number[@Part_Name = description]
The XPATH looks like this
xdXDocument:GetDOM("Van
Layout")/dfs:myFields/dfs:dataFields/dfs:van_layout/@Part_Number[../@Part_Name
=
xdXDocument:get-DOM()/pourchaseOrder/porder/po:items/po:item/po:description]
Where and how do I use the current function. I have searched and
seached and none of the examples or posts I have found make much sense.
Any instructors out there?