====== Commuter Module Generator ====== The Commuter Module Generator creates a Stored Procedure from an existing OpenInsight form. For a discussion and use of Commuter Modules see [[using_commuter_modules|Using Commuter Modules]]. {{commuter_module_generator.jpg?592x516}} ===== Commuter Model Generator Window Controls ===== ^Item^Sub-Item^Description^ |Window Name| |This field displays the //Window Name// or form, where the commuter module will be applied.| |Search Button| |This button launches a dialog box containing the list of window names or forms within the application for which the commuter module is to be applied.| |Inserts| |This edit table allows users to manually enter //Inserts// to be placed within the create commuter module.| |Check Boxes| | | | |Compile Now|When enabled, the //Compile Now// checkbox will compile the newly created commuter module code.| | |Update Form's Scripts and Events|When enabled, upon creation the //Update Form's Scripts and Events// checkbox will extract the quick events and scripts on the form and place them in the commuter module. These events will be updated with generic code calling the commuter module.| | |All Controls/Supported Events on the Form|When enabled, the //All Controls/Supported Events on the Form// checkbox creates a script or quick event on all events for each of the forms controls.| |Controls Edit Table| | | | |Control Name|This column lists the form's //Control Names// which the commuter module generator will apply the code.| | |Event|This column lists the form's //Event Names// on the controls for which the commuter module generator will apply the code.| | |Pre|This column indicates whether there is a script on the form's control (//Pre-Processing//)| | |Post|This column indicates whether there is a quick event on the form's control (//Post-Processing//)| |Comments| |This field enables users to input //Comments// on the commuter module they are creating. adds comments to the comments section of code| |Buttons| | | | |Save|This button //Saves// the Commuter Module Generator screen entry information for the specific window/commuter module created. The records exist in the [[System_Tables|SYSCOMMODULES]] table.| | |Clear|This button //Clears// the commuter module form.| | |Cancel|This button //Cancel's// progress and closes the commuter module form.| | |Create|This button //Creates// the commuter module.| | |View Code|This button launches the created code for //Viewing// in the system editor.|