KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to access Tables from component code
PRODUCT: 4D Developer | VERSION: 11 | PLATFORM: Mac & Win
Published On: June 4, 2008

The component architecture in 4D v11 SQL is quite different than previous versions of 4D. One of the primary changes is that components can no longer contain tables. However, it is still possible to access tables in the Host database from the component code.

The following commands work correctly in the context of a component:

-DEFAULT TABLE
-NO DEFAULT TABLE
-Current Default Table

It is also possible to pass pointers to tables to the component code.