Migrate from dbapp1.0 to dbapp2.0
You can migrate your generated application from the dbapp1.0 template set to the dbapp2.0 template set.
- Modify your 4pw project file by removing any Application Generator file build rules. Delete the duplicate rules from the Edit Build Rules dialog so that your program will use the new template build rules.
- The dbapp2.0 build rules are in a file called build.rules. If you have your own template directory, you must copy the build.rules file from the dbapp2.0 template directory. If you have modified the build rules, reintegrate your changes in the build.rules file.
- The dbapp2.0 template uses the 4dbx database schema file type. Before using the dbapp2.0 template, replace the 4db files with 4dbx ones.
-
Open the 4db file and use to save the file with a 4dbx extension. If you have defined your
own template directory:
- Confirm that you have the 4dbx file type definition.
- Confirm that the actions are present in the creatable.conf.
- Remove the build rules from your projects if you have added them (or update them to execute the same operations as the provided ones).
- Confirm that the build.rules file contains the same build rules as the provided one for 4dbx.
- Confirm that the settings.agconf contains the 4dbx section.
- Report instruction names have changed. For each 4rp file, you need to select its data source again. The data source can be created by building your 4rd file.
- Confirm that you are using the dbapp2.0 template set. Select Database Applications 2.0. and select