KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Creating a table structure using 2004 4D Pack
PRODUCT: 4D Pack | VERSION: 2004 | PLATFORM: Mac & Win
Published On: October 26, 2004
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In 2004 4D pack, 4D added a command called "AP Add table and fields" which is used to create a table structure in 4D. The command has input parameters of table name, field name, field type and field length. Below is a sample code that creates a table using the command. If the command is successfully executed, the command will return the table number of the newly created table.

Code