FR 
 
Site navigation



User Management Resource Administrator: User Account Management for Windows 2003/XP/2000/NT

Previous Topic

Next Topic

Book Contents

Project B - Inserting a form table to display table content in a variable

  1. 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.

  2. Right-click the Form window and select Form properties…. Select the Initial project tab and select CollectServices as the initial project. Click OK.
  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. Click OK. When you run the preview, the resulting table as shown in the figure below.

See Also

Example 3 - Creating a variable with table data and showing the content in a form table

Project A - Collecting services


Home | Products | Support | Pricing | Download | Press | About Us | Contact | Sitemap
QUICK LINKS: Mass / Bulk Import Software | Network Monitoring Software | Disk Quota Management
QUICK LINKS: User and Active Directory Management | Active Directory Migration | SSRPM Documentation