4D v11 SQL - How Do I...?
New: XML
Enhanced: Forms | Web | Interface
| XML |
|
Discover a set of tools to generate XML within your development efforts through two different ways (DOM, SAX).
Export XML DOM
One of the approaches to produce an XML structure is to write directly the structure sequentially in a disc file.
This database example shows another approach. The idea is to generate a DOM tree in memory (DOM export).
Two examples are provided. In the first of them, records are written in a DOM tree created for the purpose. In the second example, a model is used (an empty structure).
|
| Forms |
|
Form Choice
This database example shows how to choose an intput form depending on the data or the User action.
Multi-Page Form
Forms can contain several pages. The advantage is to be able to organize several objects on a form.
Displayed Line Number
This database example shows how to use the DISPLAYED LINE NUMBER command to alternate different background colors on the lines of output forms.
Set Enterable
This database example shows how to use the new syntax of the SET ENTERABLE command, that shows to the developer to authorize or not, on the fly, entry in list.
Highlight Records
This database example shows how to use HIGHLIGHT RECORDS and GET HIGHLIGHTED RECORDS with a set of records.
Inherited Forms
This database example shows how to use inherited forms and the 0 page of the 4D forms. |
| Web |
|
Start or Stop Web Server
This database example shows how to program a port number and activate your database on a web server.
On Web Connection
This database example uses the 4D's integrated Web server. The "On Web Connection" database method is launched each time the web server receives a request starting with the "4DCGI" URL, or if the request is invalid.
On Web Authentication
Passing Parameters
|
| Interface |
|
3D Buttons
This example shows you how to use the 3D Buttons feature.
Hide or Display Menu Bar
This example explains how to use hide or display the Menu Bar.
Automatic Date
Hide Tool Bar
Set Visible
Uppercase/Lowercase
|