-
I think you're missing a set before that next line. May I suggest reading up on some general VBScript tutorials before proceeding any further?
-
Sounds like the code you're trying to reuse is VB code, not VBScript. I believe in VBScript, it would just be Dim Conn, without the As AdoQueryConnection.
-
The error indicates that some chain of events is causing a rule on your form to fire over and over, not just because it has a problem with new lines. Try to figure out what could be causing the rule to fire over and over, and find a stop condition, or a way to set the field's value in a manner that doesn't cause that.
-
InfoPath doesn't support SetTypedValue() and there's no need to use it. You can just use SetValue(DateTime.Today.ToString("yyyy-MM-dd"))
You can also do this without using code.
-
How about this:
Converting decimal to time
-
Glad to hear you figured it out. I suggest you remove these lines from your Save event:
e.PerformSaveOperation();
// Write your code that will run after saving here.
e.CancelableArgs.Cancel = false;
The qRules FormSave() method fully manages the save operation and the CancelableArgs, and having those lines could result in the form being ...
-
PDF export will not work on browser enabled forms.
-
Hello again, and thank you for your feedback,
I believe the qRules DLL should be present in the qRules installation folder and not require any extraction from an XSN. The tutorial does instruct the reader to navigate to the qRules installation folder when adding the DLL to the Visual Studio project, so I think we have that ...
-
Hello again,
All of the features of DBXL Data Query are included in the main DBXL package. The minimum DBXL Data Query license allows querying data from up to 5 databases, while the main DBXL package will allow you to query from 1 database or more, depending on the license.
For customers that have SharePoint, it is typical to install ...
-
Sounds like you're missing the Form Load rule. This can be found under Tools->Form Options->Open and Save->Rules... in IP 2007.