-
I didn't mean to confuse things by bringing up the data connection -- I'm not sure about IP 2003, but in 2007, you have some choices when you set up your email submit -- you can either include the form as an attachment, or just send the current view in the body of the email. I think it may be easiest to use User Roles for this -- add User ...
-
And is the form sent as an attachment in the email? And it is to open in View 2 for User 2, and View 3 for User 3? Or is the data connection to send the active view of the form and no attachment?
-
It does mean lots of sections, yes. You can bind the section to the same field as your control, if you like, to keep your data source a little cleaner. I don't understand the second question: "and how the final form follow the second view's result?" You may need to have a checkbox or something for the user to indicate ...
-
Hello and welcome:
You can use sections for this -- In your new view, put each field and label in a section and hide the entire section using conditional formatting if the field is blank. So, in the first view, all the fields show -- in the second view, only the fields that have a value show. Since the label is in the section with the field, ...
-
Okay -- you pasted your code into the OnClick event for the button? So it begins with "Sub" and ends with "End Sub" ? So the code block looks like this:
Sub CTRL5_5_OnClick(eventObj)
Dim objOutlook
Dim itmAppt
Set objOutlook = ...
-
But prior to enabling protection, you did not get that error when you opened your published form? Enabling design protection shouldn't have caused a data connection error....
-
I'm sorry, I'm confused. Do you mean this happened after you enabled protection? or do you mean you can't open it after publishing?
-
Hello:
For InfoPath 2007, go to Tools/Form Options/Advanced and select Enable Protection. That will disable the form customization commands on the tools menu. In IP2003 I think this is under Tools/Form Options/General.
-
That error tells me that your form is using JScript instead of VBScript. You need to change to VBScript, then follow the steps again to attach the code to a button. Directions for changing your language are here: http://support.microsoft.com/kb/828853/en-us?spid=2515&sid=229 . You will have to follow the steps to remove the script from ...
-
I'm not sure how you will be storing your xml files, but do be aware of the options for submitting with a secondary data connection in InfoPath. For more information, see these ...