-
Ah, well spotted. I didn't think it through completely. Glad it worked otherwise!
-
How about this:
concat(substring(TitleCase, 1, 1), substring(substring-after(TitleCase, ' '), 2, 1), substring(substring-after(TitleCase, "+"), 2, 1))
-
Is there a reason your XPathNavigator needs to be declared as a member variable and not as a variable within a method? If it must be accessible across methods, you need to do exactly what the message says and use the FormState property. The code that InfoPath auto-generates explains this quite clearly:
// Member variables are not ...
-
I don't think there is a simple way to make it dynamic. You could modify it to nest more substring-after(..., " ")s in there until you have 200. Why do you want to to get the first 200 words of a string anyway? Wouldn't the number of characters be a more valid measurement in most cases?
-
No, I don't think there's anything as simple as what you're asking about, but this should work for getting the first 6 words of a string:
substring(field, 1, string-length(field) - string-length(substring-after(substring-after(substring-after(substring-after(substring-after(substring-after(field, " "), " "), " ...
-
This appears to work:
http://www.infopathdev.com/files/folders/other_subjects/entry74119.aspx
-
I believe Anson is suggesting using that expression in the dialog where you set up the validation condition.
-
The Expense Report example uses the DbxlDocumentServiceEx.asmx web service, which throws an exception if any errors occur. The non-Ex version of the web service handles errors more gracefully and returns them in a data object, but unfortunately, InfoPath Submit connections don't let you inspect the data that's returned without using ...
-
Hello jseptor,
Are the images you are referring to kept as attachments within the XML documents, or are you using some way to save them out to DBXL and SharePoint? We have techniques for saving attachments out from InfoPath into DBXL or SharePoint and replacing them with links in the XML documents. This includes the SaveToDbxl ...
-
Could you attach an XSN with what you have tried so far?