Please tell me how to open a 4d database?

I am trying to open (using 4d v12) a database with the extension .4dc (in addition, there are files with the extensions .4dd and .4dr).

As a result, an error occurs: you cannot convert the compiled database. This may be an old version of the database, but I could not find anything that could convert it to a newer version.

My goal is to get information from the database. But the problem is that I am not good at 4d. And I do not know how to open .4DC as part of the application.

Please help me if you know how to do this.

+4
source share
2 answers

.4DC is a compiled structure file. It contains the code of all your methods and defines the structures (tables, fields) in your database. The .4DD file is the actual data file. It contains values ​​that are stored in the database. A .4DR file is a resource file.

You cannot edit or convert .4DC because it is compiled. What you need is .4DB. It does the same as .4DC (contains the methods and structure of the db), but you can update it and open it to be interpreted so that you can edit the methods and change the structure of the database.

You can open .4DC as part of the application, but you cannot update it or change any methods. If you open it using the 4D IDE, you will need the same version as the created .4DC.

You can also try the 4D knowledge base for more information: http://kb.4d.com or read the documentation: http://doc.4d.com/Home/home.en.html

Good luck

+9
source

.4DC is an application, it is used only to launch it. As said, it compiles into machine language (0 and 1), so it won’t help you. It’s good to use the application so that it is. .4DD is the actual database underlying the application.

So, if you want to access only data, you should look at this .4DD

There are also ODBC drivers that exist for 4D.

+2
source

All Articles