Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2007

Tip: Looking for answers? Try searching our database.

Help with Current() .. have never been able to get it to work.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
esebastian@esolutionsgroup.ca - 01 May 2007 15:52 GMT
Hello There,

I think my scenario is in need of the Current() function but i try to
avoid it because i can never get it to work. I have a combo box and
it's display and value nodes are set to the name column in a secondary
data source .. the xpath to that field is:   /dfs:myFields/
dfs:dataFields/d:NavigationGroups/@Name

When the value of the combo box has been changed i need a field in my
main datasource to fill with the ID field of the secondary data source
(and no i can't change the value node of the combo box to be the id of
the secondary data source, with what we are doing i need the value to
be the name but i also need the id for later use)

The xpath to the field i want to store my id in = /my:myFields/
my:Survey/my:Inspection/my:InspectedAssets/my:InspectedAsset/my:a.s_ID

The xpath that the id field is in the secondary datasoure = /
dfs:myFields/dfs:dataFields/d:NavigationGroups/@Id

I think there must be a way to set a rule with a filter on it to
populate the field in the main data source but i can't seem to get it
to work, i have had many hard times with the current() function and so
i avoid it. If someone can help me out with any kind of advice that
will work that would be great.

Thanks,

Erin
esebastian@esolutionsgroup.ca - 01 May 2007 19:22 GMT
Thanks AGAIN to S.Y.M, who has saved me once again... this article
helped me out.

http://enterprise-solutions.swits.net/infopath/shrinking-dropdown-list-repeating
-table.htm

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.