Migrating Existing Workspaces to DataFlex 2021

DataFlex 2021 introduces the capability of using Unicode data in your DataFlex applications as well as compiling applications in 64 and 32-bit.

For DataFlex developers using prior revisions of DataFlex (19.1 and lower), follow the basic steps below to prepare both your DataFlex application and database environment to work in DataFlex 2021.

Preparing the Application Environment

After successfully installing DataFlex 2021 Studio, you need to prepare each workspace (including libraries) to work in the new environment. That can be accomplished within the Studio through the following actions:

  1. Migrate the workspace
  1. Compile applications in the migrated workspace to validate that migration was successful
  1. Compile applications in the migrated workspace with warnings fully ON

The list of actions above will get your application code ready for use with DataFlex 2021. The next step is to get the database used in the migrated workspace up to par as well.

Preparing the Database Environment

Once the applications are migrated to DataFlex 2021, it is time to review the databases used in the workspace to enable them for optimal use.

  1. OEM Databases
  1. DataFlex SQL drivers
  1. Existing SQL Databases


If your DataFlex application will be sharing databases with applications hosted in earlier revisions, a few things must be done to maintain data integrity while accessing data through the two environments:

  1. Unicode data may not be stored in the databases
  2. DataFlex 2021 applications must be compiled for 32-bit
  3. Applications from earlier DataFlex revisions must use the 6.3 versions of the DataFlex SQL drivers (latest build recommended)
  4. The 32-bit version of database client drivers must be used
  5. If DSNs are used, a 32-bit DSN must be created for all DataFlex environments and the DataFlex 2021 Studio needs a 64-bit version of the same DSN (used during development)


See Also

What's New in DataFlex 2021