Overview: Working with Tables

Removing sensitive information from screens or extraneous host clutter is easy to do with the table control. It provides countless options for customizing the way you display host table data, and host screen fields. For example, you can protect your business using the table control by limiting the host information available for external use. Similarly, using the table control to display data from a host table in a different view, you can re-arrange application workflows in ways that suit each business group within your organization.

For example, let's say you have a host table that contains account information. In the first column is the account number; in the second, the account type; and in the third, the customer name. Using a table control, you could list the account type first, followed by the customer name, and then the account number. Or, you might choose not to display the account number column at all, showing only the customer name and account type. If you wanted to customize the way the information was displayed even further, you could create a more readable page layout, perhaps by modifying the column borders and adding graphics.

For a host table that spans multiple pages, you could display all of the data from that table in a single table control, on a single page of your customized Web application.

Note Scroll bars are automatically added to tables when needed, making all of the data accessible to the user.

Other changes you could make would be to add emphasis to the header cells, by changing the background color, the borders, and/or by formatting the font bold. You can also use a table control to position several cells horizontally to create a table heading that spans several columns.

There are numerous ways in which you can implement table controls to display host data in a tabular form. The most basic method is to use a host table bound to a table control.

Note Depending on the design of your host screens and the environment in which you are working, you may also choose to use Web services, output from custom functions, or a variety of other individualized approaches.

The following guidelines list a few of the ways in which tables can be implemented in your Presentation Designer project.

If your host screen includes
Create your displayed table using
A single rectangular area that contains the data you want to display A host table bound to one or more table controls.
Two or more rectangular areas that contain data you want to display A Synapta Services Builders for Screens .NET Web service, which executes a task that brings back table output and writes it to the table control.
Unformatted data, so that the location of the data you want to display may vary substantially A QFO (Custom Function) that establishes the boundaries of the table on the host screen, extracts the data from it, and then returns the data to the table control.
Related Topics
Bullet Creating Custom Applications, Overview
Bullet Customizing Interface Elements, Overview
Bullet Binding Host Tables to Table Controls
Bullet Adding Web Services to Events
Bullet Custom Functions, Overview
  Attachmate