My current () worked the first time, 2nd time it disappeared to te

R

RJ

I am using Infopath 2003. I am baffled at what is going on, i am not an
expert but can understand most. I have a repeating table that is using
webservices to set a value to each drop downs. Works fine. now i have a
button, the retrieves the value from 2 dropdowns and querys into another
repeating table to give you a list of what you need to view. works fine. Now
If I choose the first row, i can query by clicking the button, I see what i
need and i add the values...works great! I will do it also on the second row.
Now when i was excited it worked. i saved it and previewed the form again.
the first row worked fine but the second row wouldn't work again. What
happened?

(note: i have current () - it looks like this
xdXDocument:GetDOM"getFIMSCategories")/dfs:myFields/dfs:dataFields/tns:getFIMSCategoriesResponse/tns:getFIMSCategoriesResult/Results/Categories/CatID[../CatID = current()] This is set in the rules in the first dropdown list.
 
R

RJ

I figured out the problem now it works.... Now my other issue is, i have a
text box that is in the details section of the master detail. The value that
populates in there is retreived from a webservice. All i need to do i set a
value but it is in a repeating table and it repeat itself in each row and its
not current to my category option, i have tried the current () pointing to
what is reference in posting that you see in here. What do i need to do?
Thanks for your time. Please help, I have a testing scheduled today and
this is not working yet.
 
J

juvi

hello,

I am experiencing exactly the same problem today that you have:

I have got an repeating section with a DropDownMenu that is connected to a
SQL Server table and a TextBox that is set to a value depending which item is
selected in the DropDownMenu. This works fine as long as I am not using more
than 2 repeating rows. After that it takes the same below that was set
before....Hope anyone has a solution for this?? thx juvi
 
J

juvi

....and another thing....it works as long as I am selecting my items from the
DropDownMenu in descending order!? strange....so if select index 5 and after
that index 3, 2, 1 then the values in my Textbox are set to the correct value.

But if I first select for example item 5 and want to select item 6 or higher
then the value in my textbox is set to the same that item 5 had.....

looking forward to a solution.....BR juvi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top