Insert a *.dbf file inside C&D

Post 20 of 42

astuce-20100614-insertion-fichier-dbf-6

Different kinds of data sources can be inserted inside C&D :

  • Text files (*.txt – tab separator)
  • Excel files (*.xls – format 97-2003)
  • 4D bases
  • Access or Oracle bases via an ODBC protocol (see to dispose of the drivers)
  • *.dbf files
astuce-20100614-insertion-fichier-dbf-1

If you only have few data, they can also be entered manually in the data tables, after having defined the parameters of the Data module in “Intern”.

astuce-20100614-insertion-fichier-dbf-2

Data entry directly in the data tables (below the Display window) :

astuce-20100614-insertion-fichier-dbf-3

In order to link a *.dbf file to a working map inside C&D, accede to the Data module parameters and choose « Text file » in the pop-up list :

astuce-20100614-insertion-fichier-dbf-4

In the dialog box that opens, change the format of the file you are looking for,

astuce-20100614-insertion-fichier-dbf-5

To replace it by « Dbase file (*.dbf) » :

astuce-20100614-insertion-fichier-dbf-6

The file selection can then be realized.

Important reminder :

The definition of the parameters of a Data module enables to link C&D to a data source. This means that by default, the data will not bill inserted inside C&D, but that only a simple link joint them. Actually, the Data module directs towards the location of the database.
Creating a link rather than inserting data in the diagram enables not to make the created files heavy, and to multiply them thanks to their absurdly low size.

Menu