Home | Data Conversion template 1.89
Data Conversion template 1.89
Data Conversion template is intended for automatic data files converting when application dictionary changes. Say Good-bye to error 47, and feel free to change your dictionary as you wish - integrated converter will automatically convert files when program starts.
DC template tracks data dictionary changes and generates data conversion code.
In other words when you change data file structure in the data dictionary, template will prepare data converter for every changed file automatically. So, when updated program starts with old data files, all old files will automatically be converted to the latest data files format. Also, programmer can manually change the conversion code for each file and each version.
Thus during program update, programmer don't have to worry about data files conversion on Client computer, data conversion will be performed automatically and "transparently" for the end-user.
DC has the following main features :
 Automatic registration of data dictionary changes.
 Automatic data files conversion from old version to the latest one.
 Embed Points to tune up the data conversion code.
 Convert several versions of a file in one pass.
 "Internal Converter" when converter is inside of application.
 "External Converter" when several applications uses one data dictionary, and converter is common for all applications of a project.
 Backup Copy old data files.
 Easy transition from a "Internal Converter" to "External Converter" and back.
 16-bit and 32-bit support, Local and Standalone run-time libraries, Legacy and ABC templates set.
 Multi-tables support (TopSpeed database driver).
 Multi-language support (English, Finnish, French, Lithuanian, Polish, Russian, Spanish, Ukrainian).
For use Data Conversion template following is needed:
 Clarion C5.0, C5.5, C6.x, C7.x, C8.x
 16-bit or 32-bit support
 Local or Standalone run-time libraries
 Legacy or ABC templates set
This package includes Templates and documentation.
Frequently Asked Questions (FAQ)
Q : Are any DLL-files, so-called "Black Boxes", used in DC ?
A : No, the template does not use any DLL-files. Only Clarion-language source code, generated by the template, is used.
Q : How to assign a value to a field during the file conversion?
A : To fill the field values manually, it is necessary to use an Embed Point :
DC Converter generator - ConverionProcess Routine: After Deep Assigment
At this point, after converter has assigned the values for the new record according to rules you can insert the code for manual fields initializing.
Q : Whether the BLOB and MEMO fields are supported?
A : Yes, the template supports the BLOB and MEMO fields.
Q : I'm using variables for file names. What I need to do for correct files opening by the template?
A : It is necessary to initialize these variables PRIOR TO THE BEGINNING of files processing by the template at the appropriate Embed Point. For file names initializing use the Embed Point :
DC Converter generator (procedure GLODC:FilesConverter) - Before Files Processing
Q : What file drivers supports the template?
A : At present the template supports the following file formats : TopSpeed, Clarion, dBase-family and Btrieve.
Q : I forgot my last changes in the file. Where can I look at file version changes?
A : The changes between file versions are documented as a comment at the Embed Point :
DC Converter generator - ConverionProcess Routine: After Deep Assigment
To look the list of changes, open the Embed Editor, point to interested file version and press the button "Source". Commented code before the embed point will contain the list of changes between the file versions.
Q : Whether the arrays, including the arrays of groups, are supported?
A : Yes.
Q : Whether the multi-DLL applications supported?
A : Yes. There are two ways to support multi-DLL applications.
First: Internal Converter mode. Register the template in the application, which generates EXE-file.
Second: External Converter mode. Register the template in the application, which generates EXE-file, and create the external conversion procedure.
Q : Clarion 5.5. I create the conversion procedure, based on the procedural template "DC - DataConverter". Following all the steps and receiving the procedure, but without the window. Why?
A : If you are using Clarion 5.5, then when creating the conversion procedure, at a stage of choosing the procedural template, in the window "Select Procedure Type", do not forget to select the tab "Defaults".
Q : Do I need to call the converter manually?
A : Nope. The converter will be called automatically by DC - AutoLauncher, when it'll be necessary.
Q : Is it possible to call the converter manually?
A : Easy. Use the code template "DC - CodeLauncher" to call converter at any point of your application.
|