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 / August 2006

Tip: Looking for answers? Try searching our database.

Collect file name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hasse - 16 Aug 2006 15:02 GMT
Hi,

When saving an existing form I would like to put the forms file name
in a text box in the form. Is this possible?
Otherwise I can set the text box's content when opening a saved form.
When I submit the form to a SharePoint library I set the file name to be
Today().

Regards,
Hans
Greg Collins [InfoPath MVP] - 16 Aug 2006 17:28 GMT
If your specifying the filename before saving, then set that value to a field. Otherwise, when the form is opened, you can get the filename from the XDocument.URI property.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

Hasse - 17 Aug 2006 09:08 GMT
Thanks a lot Greg,

I used your solution with the XDocument.URI property and it works great.

Regards,
Hans

> If your specifying the filename before saving, then set that value to a field. Otherwise, when the form is opened, you can get the filename from the XDocument.URI property.
Greg Collins [InfoPath MVP] - 17 Aug 2006 18:09 GMT
Great. Glad to have helped out!

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
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.