4D V12

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


This application allows you to consult and edit the contents of a glossary or an interactive dictionary.

The words of definition can be clicked individually to access their definitions directly via a link.


You can also create new definitions (for any word selected in the texts) by clicking on a button.


Download for Windows or Mac

Contact List Box

This application shows you how to use the List Box object with and without programming.

The List Box object replaces grouped arrays on your forms.


You can enter data directly into a cell, display alternate colors for rows, resize and sort columns, and much more.


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 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


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


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 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.


XML Improvements

How do I use 4D v12's enhanced XML features?

 Download for Mac or Windows