KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Use the Home tab to Drag and Drop structure objects
PRODUCT: 4D | VERSION: 12.1 | PLATFORM: Mac & Win
Published On: November 24, 2010

As of 4D v11 SQL, you can drag and drop objects from one database to another. This works for dragging and dropping objects from the different tabs in the Explorer, and this includes the Home tab. The only difference with the Home tab is that you can drag and drop different types of objects.

This can speed up the process of moving objects to other databases as you can select all kinds of objects (tables, forms, methods) and drag them over at the same time. When moving objects from the Methods tab of one database to that of another, for example, only methods can be moved. The Home tab helps avoid this limitation.

Also, if the Home tab is used to group code within folders, then the Home tab can be used to easily move over a group of objects that make up a "module", or in other words, a series of tables, methods and or forms. Say a number of tables, methods, and forms have been created to add new functionality to a database (lets say to integrate LDAP into a database). You can develop in one database and keep all of the new objects in a single folder (named LDAP in this example) in the Home tab. Once the feature is finished, all you would need to do is move the LDAP folder from the development database into the production database and then you would be done.