We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

wordfields

Thread ID:

Created:

Updated:

Platform:

Replies:

92626 Jan 27,2010 06:30 AM Jan 29,2010 08:07 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Oscar Soares
Asked On January 27, 2010 06:30 AM

Hi,
One of my needs when using docIO will be able to update CustomDocumentProperties. Not only its value but also update the fields within the document.
The first need is solved, but how can i do the second one?

Thanks in advance.

Poornima R [Syncfusion]
Replied On January 29, 2010 08:07 AM

Hi Oscar,

Thank you for your interest in Syncfusion Products.

EssentialDocIO will not update the fields automatically.As a workaround could you please create the macro for any one of the word document with the following code snippet.

Code:
Sub AutoOpen()
Dim aStory As Range
Dim aField As Field
For Each aStory In ActiveDocument.StoryRanges
For Each aField In aStory.Fields
aField.Update
Next aField
Next aStory
End Sub

For more information regarding the automatic updation of fields, please refer the following link

http://support.microsoft.com/kb/212703/



Please let us know if you have any queries.

Regards,
Poornima

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;