Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfigurations PmAdo - ADO database

Creates PmAdo object.
 
This preconfiguration can be activated when creating a new object (e.g. by "New object" in the local object menu or by pressing the Insert key after selecting the object) and is included in the group: " / Basic".

This preconfiguration can be used with the objects: PmFolder or PmRoot.

These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the application object tree. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.

Default: "PmAdo".

Database connection parametersDatabase connection parameters using the DbOpen method in the form of ADO ConnectionString. The ADO ConnectionString (www.connectionstrings.com) contains all necessary parameters needed by the ADO Connection object for database connection via the selected ADO Provider. The typical parameters are represented for example by connection provider (provider), server address (server), database name (database), login name and password (uid, pwd), etc. The parameter list and exact syntax is defined by the corresponding ADO Provider, parameters may differ by individual ADO Providers. However for the sake of compatibility most providers ADO Provider understand multiple names of the main parameters simultaneously (e.g. the database name can be represented by database, data source, dbq, etc.). Caution: The syntax of this string is different than other strings used in the PROMOTIC system, the value and the name are separated by =, not by "colon" (:). Entries with assigned value are separated by a semicolon, for example "provider=SQLOLEDB;server=.\SQLEXPRESS;database=pm_data;uid=pm_admin;pwd=pmadmin;".

This configurator sets the initial value of the property DbConnectionString.

Macro expression can be used for input (it is evaluated while the application is launching).

Additional parameters can be edited manually, or created by the button on the right, that will open the window for Window of recommended settings of the connection string.

The defined parameters may not always be valid (for most common cases), it depends on the selected ADO Provider.

After this preconfiguration is created, the configurator is se to: PmAdo > Main > Database connection parameters.

Creates the methods of user interfaceCreate the main and auxilliary methods for working with database table
Type of database being connected
dBase
Microsoft Access
Microsoft Excel
Microsoft SQL Server
Oracle
MySQL
Firebird
Other database
Title or data source descriptionUser title or description of data source (e.g. the title displayed in viewer)
Enable - add rowenables the command to add row in the viewer interface
No
Yes
Enable - delete rowenables the command to delete row in the viewer interface
No
Yes
Enable - edit rowenables the command to edit row in the viewer interface
No
Yes
Select the mode of record savingSets the mode in the viewer interface, how each record is saved into the database table
editing disabled - Read only
by each row (default) - Editing by rows with instant writing into the database table
whole content - Editing only in the viewer. SAving the record into the database table will be completed in two steps 1) delete all records 2) create new records
by each cell - Editing by each cell writing into the database table
Enable - create new tableenables the command to create table in the viewer interface
No
Yes
Enable - remove tableenables the command to remove table in the viewer interface
No
Yes
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice