KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Name and location of data file is restricted for a merged-packaged application
PRODUCT: 4D | VERSION: 6.8.4 | PLATFORM: Mac
Published On: July 29, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

When you create compiled and merged application in version 6.8.x, you can package your merged application using 4D PackageMaker. This is optional. However, if you wish to package your merged application, you need to be aware of two restrictions on the recognition of the data file.

Restrictions:

1. The name of the data file must match the name of the application. If the name of the application is "MyApplication", then the name of your data file must be "MyApplication.data".

2. The data file must be in the same folder as the packaged application.

If at least one of the above restrictions is not respected, the application will not be able to locate the data file when it is re-opened and the user will be prompted to select a data file at every launch.

In 4D 2003, all compiled and merged applications are automatically packaged by the built-in compiler and these restrictions are no longer enforced. Users can create the data file in any folder and name it as they wish.