Mi-Forms How To

Examples that show how to design or script forms to perform tasks

Generate a custom report page from a grid
When you attempt to export a form to PDF, data contained in Grid fields is not included. The solution to this problem is to create a custom report page to d...
Thu, 2 Apr, 2015 at 5:53 PM
Populate a Picklist from a Database
There are two basic methods for populating a picklist from a database. Using the Mi-Forms Designer’s built-in ODBC picklist available in the Picklist ...
Wed, 17 Dec, 2014 at 8:38 AM
Force a Form to Finish, Even With Validation Errors
Using the code below, you can clear out errors from the Validator. Normally validation rules are in place to prevent bad data from being exported. Using m...
Mon, 22 Dec, 2014 at 3:04 PM
Show a Date Picker Dialog
Mi-Forms includes a “date picker” as part of the Generic Dialogs namespace. To use the dialogs from this namespace, you must first add a reference to the M...
Mon, 22 Dec, 2014 at 3:08 PM
Dynamic Form Navigation
Form navigation can be triggered through a variety of methods within a tablet pc based form. The method you choose will depend on the complexity of the for...
Mon, 22 Dec, 2014 at 3:13 PM
Hide Form Pages From The End-User
Hiding a form page is as simple as adding this line of script to your form:   _Form.Pages(0).Hidden = True   In this example, we are hiding ...
Mon, 22 Dec, 2014 at 3:24 PM
Set up an ODBC Connection
Please see the attached form for an example ODBC Connection
Mon, 22 Dec, 2014 at 3:28 PM
Cancel a standard DataPath created in the Mi-Forms Designer
DataPaths created using the designer interface run every time you "Finish" a form. Sometimes a datapath may not be desired.  What you can ...
Fri, 6 Mar, 2015 at 8:46 AM
Emailing a pdf of a finished form (.NET)
To email a pdf copy of a finished form to someone, follow these steps... Have a datapath on the form that exports to pdf and whose scope i...
Wed, 8 Jun, 2016 at 9:46 AM
How to import & export data to/from SQL Server
It is often necessary to import data from and export data to a SQL Server database. There are multiple times at which this import and export may be useful. ...
Fri, 3 Apr, 2015 at 4:29 PM