10-20-2015 12:08 PM
Hello All,
I'm looking for a little VB help here. I'm trying to pull the vale of a keyword and then change it to something different and have it save. I can get it to pull the keyword, supposedly change it but when advanced capture finishes processing the document it's back to is' old value.
Here's my code:
Sub FormAppliedMain
Dim objKeywords
Dim lngIndex
Set objKeywords = OCRDoc.Document.Keywords
msgbox (objKeywords(10).value) 'Show's incorrect value
select case (objKeywords(11).value)
case "17-8921A/15"
objKeywords(10).value = "E"
end select
msgbox (objKeywords(10).value) 'Show's correct value
Call OCRDoc.Document.StoreKeywords()
End Sub
Any ideas on how to have it store E as the keyword?
Thank you in advanced.
10-21-2015 11:45 AM
Hello Keith,
I tried the following script which I added in the Form Definition configuration window. It works as long as the document was pre-indexed with a keyword value for the given Keywords index. If it still does not work for you, please let us know.
10-21-2015 11:45 AM
Hello Keith,
I tried the following script which I added in the Form Definition configuration window. It works as long as the document was pre-indexed with a keyword value for the given Keywords index. If it still does not work for you, please let us know.
04-13-2017 12:46 AM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.