Presentation and options Dialog box of the application
Graphic examples Syntax

Presentation and options

This application consists of a set of tools and procedures for editing, revising, updating, etc different elements (table structure, fields and records) of databases and tables. It is especially suitable for automating some of the procedures that are usually carried out interactively with the Table Manager MiraDades, but it also includes options that are exclusive to this application. The different procedures are explained in the detailed sections that appear below:

Many of these options are part of the processes that can be linked together in a BAT program (see MiraMon Support Applications) and are part of a set of more complex database management procedures. The functionality of this application is to provide this set of very specific tools which, within a more global management procedure, will make it possible to carry out adjustments to the database arising from other processes and/or the preparation of the database in order to verify specific necessary conditions before starting up other processes.


Dialog box of the application


GestBD dialog box


Graphic examples

Example 1 --> Join via a single key field.

Join of Taula1.dbf (Table1.dbf in English) and Taula2.dbf (Table2.dbf in English) via the common field ID (marked with a red rectangle in the figure). In this example, it is desired that table Resultat.dbf (Result.dbf in English) contains all the fields which are present in both tables without repeating the equivalent fields in both tables.

GestBD 14 Resultat.dbf Taula1.dbf Taula2.dbf /T1_CLAU1=ID /T2_CLAU1=ID /T1_CAMP1=ID /T1_CAMP2=CITY /T1_CAMP3=POPULATION /T1_CAMP4=KM2 /T2_CAMP3=REGION /T2_CAMP4=COUNTRY /RELACIO_1_N /NOMES_REG_ENLLAC

Example 2 --> Join via two key fields on each table.

Join of Taula1.dbf and Taula2.dbf via the common key fields STATIONID and REGION of Taula1.dbf, and fields ID and REGIONID of Taula2.dbf (all of them marked with a red rectangle). In this example it is wanted table Resultat.dbf to contain all the fields which are present in both tables without repeating the equivalent fields in both tables.

Note: Key fields must have the same structures (Type and Extent), although it is not necessary to have the same name.

GestBD 14 Resultat.dbf Taula1.dbf Taula2.dbf /T1_CLAU1=STATIONID /T1_CLAU2=REGION /T2_CLAU1=ID /T2_CLAU2=REGIONID /T1_CAMP1=STATIONID /T1_CAMP2=REGION /T1_CAMP3=COORDX /T1_CAMP4=COORDY /T1_CAMP5=COORDZ /T2_CAMP1=CITYNAME /RELACIO_1_N /NOMES_REG_ENLLAC


Syntax

Syntax:

Options:

Parameters:

Modifiers: