warning: file_get_contents( [function.file-get-contents]: failed to open stream: HTTP request failed! in /var/www/ : eval()'d code on line 4.


How do I use Unicode with the PROCESS HTML TAGS command?

 Download for Mac or Windows

Hierarchical Lists

This application demonstrates how to use a hierarchical list in 4D.

The hierarchical list in this example is built dynamically when you click on the 'expandable' elements.


Download for Windows or Mac


Integrated, Native SQL

4D's database engine and development environment feature integrated, native SQL.

The 4D language allows you to connect directly to an ODBC data source and to execute SQL queries inside  "Begin SQL" and "End SQL" tags (and via the new 4D command: QUERY BY SQL).

This database shows how to carry out queries with the 4D language as well as with SQL.

Specific examples show both languages in parallel in order to compare them easily and to highlight their respective advantages.


Comments and explanations are provided during the execution of these queries.


4D Objects

This example shows all the interface objects managed by 4D.

These include:


• variables

• buttons

• hierarchical lists

• fields

• checkboxes

• etc.


To use it, you can click on the buttons representing the Form editor tool bar or you can select a specific type of object directly from a dropdown menu.


4D Mailing

This application shows how to use the "4D Write" word processor to send customized e-mails to contacts as a mail shot.

Download for Windows or Mac


4D Indexes

This example shows the various possibilities of using indexes in 4D.

4D's index types include:


- BTree index for non-repeated values (IDs, names, etc.)
- cluster index for repeated values (Booleans, titles (M., Ms., etc.))
- composite index for sorting (FirstName+LastName, City+ZipCode, State+City, etc.)
- keyword indexes for texts


The indexes are created and stored in a separate file.


To demonstrate their efficiency, this example explains how to choose the correct index type.

Unicode Support

This example demonstrates 4D's ability to display Unicode characters.

It also shows the conversion of characters when using the Uppercase and Lowercase functions, as well as 4D's capacity to convert from one standard to another (i.e. ISO-8859-1 to UTF16) via intermediary BLOBs.


Download for Windows or Mac


Web Area

How do I use Web Area in different ways?

 Download for Mac or Windows

Synchronize Multiple Sites

How do I synchronize multiple sites with their headquarters?

 Download for Mac or Windows