4D V11 SQL
Unicode Support
It also shows the conversion of characters when using the Uppercase and Lowercase functions.
4D Indexes
4D v11 SQL'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
This also covers indexes created stored in a separate file.
To demonstrate their efficiency, this example explains how to choose the correct index type.
Integrated, Native SQL
The 4D v11 SQL 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.
Web Area
Web sites, local HTML pages, PDFs, movies, animations, JavaScript controls - all of them are at your diposal.
This demo uses Web Area to create a simple web browser, Google Maps mashup, document viewer, and canvas viewer in 4D v11 SQL.
Stock Stalker
A Web Area form object displays current graphs of your stocks' performance as retrieved from the internet, with options for update interval, zoom level, date range, and more. (Many thanks to 4D developer Tom Dillon for this contribution.)
SVG Goodies
Requires 4D v11 SQL Release 3 or above.
Download for Windows or Mac
SVG Analog Clock
Requires 4D v11 SQL Release 3 or above.
Download for Windows or Mac
4D User Forms
Starting with a classic "clients - invoices - invoices_lines" structure, two forms can be duplicated then modified by the users: "envelopes" and "invoices."
These two templates have been deliberately left "open" so the final user can modify the text, formats and paper orientations, as well as margins, objects, etc.
Each form can be duplicated as many times as necessary. This allows, for example, specifying several envelope formats as well as different templates for the invoices.
Theatre Seating Plan (SVG)
Requires 4D v11 SQL Release 3 or above.
Download for Windows or Mac
4D Mailing








