New parameter for DISTINCT VALUE
With 4D v15 R4, a new parameter is introduced for the DISTINCT VALUE command. This parameter must be an array, and it receives the count of each distinct value in a selection of records.
This feature is particularly useful for obtaining statistics on records, or to order records by their most common type.
New “error formula” system variable
A new system variable is available to get the offending 4D code that generates an error. With 4D v15 R4 whenever an error is raised you have a means to get the offending code in addition to getting the error code, as well as the method and line where the error occurred.
Export 4D method code regardless programming language of the 4D product used
The METHOD GET CODE command has been enhanced to export the method code and get the very same result whatever the name of the commands, tables, fields, and regardless of the programming language of the 4D product used…
To do so the tokens of the code elements (4D commands, 4D constants, tables, fields, etc.) are exported with them. These tokens are unique and can be interpreted as the elements they represent by 4D even if their names have been upgraded or if they are written in another language than that of the 4D that executes it.
Report duplicates in unique fields
In 4D v15 R3, the way to detect duplicates in fields declared as unique has been enhanced so that users have a mean to know which are the offending fields.
What’s new? All the offending fields are now displayed in an error message or in the log.
Duplicates can be reported through 2 different ways:
- when 4D needs to create indexes on a database with offending fields.
- during an MSC Verify scan.
4D Write Pro User Interface
With 4D v15 R4, it is now possible to design your own 4D Write Pro interface with dedicated commands. There are a lot of new commands for manipulating attributes for selections, paragraphs, images inside a document, or the document itself.
Quick Report Editor fully rewritten
With 4D v15 R2 is available the first preview version of the 4D Developer Edition 64-bit Mac & Windows. This preview includes dialogs that have been fully rewritten, first to migrate to 64-bit but also to provide you with modern end-user dialogs with an improved user experience.
Create flexible UIs using 4D View Pro
Easily create flexible and powerful UIs, dialogs and widgets with 4D View Pro! To know more about 4D View Pro, check out this blog post.
This feature is a powerful enhancement for the listbox object, providing you with a mean to define very flexible UIs. An array of objects can now be associated with the column of a listbox so that each cell can have different types of widgets according to the type of data to be displayed.
From 4D View to 4D View Pro
We have identified a large set of usages of 4D View in customer applications. One of them is an enhanced user interface using advanced lists, such as a property window for instance. Others are using 4D View to have detailed control of list display, requiring a large set of fine details not available in list boxes.
We also saw usage of 4D View as a reporting engine as well as a spreadsheet. As a result, 4D View Pro could not be a single solution or tool to handle all this cases.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy