Example 1: Displaying Batch Processes by Batch ID

In this example, the process control operators want to view the details of a batch process by batch ID. To view the batch process details, this example uses:

  • Two Data Controls to submit two different queries to the Batch table in the database.
  • A Grid Control to display batch process information for a selected batch ID.
  • A ListBox Control to select the batch ID.

The following screen shows the result in the run-time environment.

Displaying Batch Process Details by Batch ID

Here, the list pointer in the Grid Control points to the second record of the ADO record set retrieved by the query, which is Record 1 in the Data Control. As you increment the Data Control, the list pointer moves down the list.

See Also