7.0

Table Of Contents
All before occurrence: All occurrences of the search string will be replaced until the specified number of
occurrences has been reached. Specifying 5 occurrences, for instance, means that the four first
occurrences will be replaced.
Replace with: Enter the string that must be used as the replacement sting when a match is found. This is
also a variable property box.
Related topics:a
Search and Replace Action Task Properties
10.1.2 Database Action Task Properties
PlanetPress Database action tasks retrieve data from various databases to use as input data. The data
received by the task may be kept as is or converted to the CSV, Fixed Length Columns or XML format.
PlanetPress Database action tasks are not input tasks as such, since they cannot be used as the initial input of
a process. Bear in mind that a task that draws in secondary input data replaces any previous data.
PlanetPress Database action tasks require version 2.5 or higher of the Microsoft Data Access Components
(MDAC), including JET 4.0.
When adding a PlanetPress Database action task, you have two options:
You can use static properties (properties that will remain the same regardless of the data processed at
runtime). This option lets you use an Open DataBase Connectivity (ODCB) compliant data source. You
can also edit the SQL statement that assembles the database table. Note that you can import a
database connection configuration that you previously exported from PlanetPress Design (when you
created a document) or from PlanetPress Watch/Server (when you set up a sample data file for a
process).
You can use dynamic properties (properties that include variables or data available at runtime). This
option lets you create a dynamic database connection string as well as an SQL statement that changes
based on the data processed by PlanetPress Watch/Server. Note that this option will not let you test the
query performed by this task before it is performed with actual data.
PlanetPress Database action task properties are as follows:
Database Connection tab
Database group
Location: Enter either the path and name of the database or a database connection string in this box. You
may click to navigate to the database and paste the database path and name automatically to this box. You
may also click create an ODBC connection string to the data source and paste the string automatically to this
box. If a login name and password are required to connect to the database, a dialog box is displayed and the
information you enter is saved in the configuration of the PlanetPress Database action task.
Table/Query: Select the table or query containing the information you need as your input data.
Range group
All: Select this option use all the records included in the database.
Records: Select this option use only some of the records in the database. Indicate the range by entering the
number of the first record followed by a dash and the number of the last record. To use records 50 to 75, for
example, enter 50-75. Note that this option is intended mostly for testing purposes, since in real life
scenarios, you typically want to use all the records stored in a database.
Emulation group
Action Tasks - Detailed Directions
Objectif Lune Inc. © 2009 161