|
|
|
|
Testimonial:
|
|
| We have successfully used Mass to create over 1000 usernames on our new Windows 2003 Network when we transferred our student base from NT4. We are also deploying tools to reset passwords, create new users and other maintenance issues. Deffinitely worth the money! Alan Brown Ursuline College http://www.ursuline.kent.sch.uk/home.html | | read more... |
|
|
|
|
 |
|
|
|
Project B - Inserting a form table to display table content in a variable
- Choose FileàNew. Select the option Form project and click OK. Enter the project name, Show Services, and click OK.
Next, the project CollectServices must be specified as an initial project to ensure that the variable %ServicesTable% is properly passed to the Show Services project.
- Right-click the Form window and select Form properties…. Select the Initial project tab and select CollectServices as the initial project. Click OK.
- Insert a table object in the Forms window. Select the Generic table option and click the Configure button.

The table data we wish to use are contained in the variable %ServicesTable%, so we need to select the generic table type Variable as shown in the figure below.

For this table type, the name of the variable and the columns contained in this variable need to be specified in the Variable generic table tab.
- Enter %ServicesTable% in the Variable name list.
Specifying the column names is necessary because a table variable only holds the data of the table, not the column names. Built-in column templates are available for this purpose.
- Select the column template Services status (with config info) in the Columns section and click the Set columns button. This will include the column names "Computer", "Internal name", "Name", "Service", "Status (text)", "Status (code)", "Process ID", "Svc type (text)", "Svc type (code)", "Interactive", "Startup-type (text)", "Startup-type (code)", "Binary file" and "Logon as"|. See the Help for more detailed information regarding these status fields. Finally, click OK.

If you wish to make changes to the displayed columns, you can do so in the Columns tab.
- Click the Columns tab.

This window is used to configure which columns must be shown in the form. Here you also specify the variables that are passed to the UMRA Service when the end-user selects a service and presses a submit button. On the left hand side, the available columns are shown. These columns correspond with the columns configured in the previous step.
By using the add (->) and remove (<-) buttons you can set up and modify a column configuration. In the example shown, the form will have a table with 3 columns. The third column (Internal name) will not be visible since it has a width of 0%. This column is included since it uniquely specifies the name of the service, but there is no need to display it for the end user. When the user selects a service and presses a button, the value of this column is stored in variable %ServiceName%. This variable is passed to the UMRA Service and used for further processing.
- Click OK. When you run the preview, the resulting table as shown in the figure below.

| |