Tips

6 practical examples on how to use macros

Automatically translated from English

4D 18 R5 introduced form macros. They can be incredibly useful, for example, by providing an ideal way to save time on repetitive tasks. In this blog post, we’ll show you some basic examples to learn more about how macros work and the possibilities they offer. All of the following examples are available on GitHub.

Product

4D View Pro now in 5 languages!

Automatically translated from English

We know how important it is for both you and your customers to have 4D View Pro spreadsheets in your native language. That’s why 4D v18 R5 now provides a set of five supported languages! In addition to English, we’ve added support for French, German, Spanish, and Portuguese!

Product

4D Write Pro: Decimal point or comma for number alignment?

Automatically translated from English

Numbers … big, small, very big, very small …  No matter their size, it’s always better if they’re easy to read. In most countries and languages, separator characters are usually used to separate thousands (or tens of thousands) and there is always a character to distinguish the decimal part from the rest of the number. When it’s time to align these numbers correctly in documents, “decimal tabulators” are used (which are based on the decimal separator character of the numbers).

But what if the documents contain numbers from different countries and the numbers aren’t formatted in the right way? Let’s take a closer look at this!

Product

Type ahead made easy

Automatically translated from English

If you’re interested in the user interface, you may have already used the On before keystroke and On after keystroke events. You’ll certainly be happy to know that the handling of these events has been greatly enhanced with 4D v18 R5. In addition, a new command has been created to determine if there is ongoing input when the On before keystroke event is generated. Let’s find out more!

Product

Multiple servers, one shared local resources

Automatically translated from English

There may be times when you might need users to connect to many instances of the same merged server application. When this happens, the merged client application downloads as many local resources as the server connections. But if your server’s Resources folder is huge, this can be quite a drain on time, volume, and network! Fortunately, 4D v18 R5 has a solution for this scenario!

Product

4D for iOS: Optimized data synchronization

Automatically translated from English

The 4D for iOS data synchronization process has been redesigned from scratch in 4D v18 R5!

As you probably already know, 4D for iOS allows you to extend a subset of your physical structure to mobile devices and consult your data offline in a very efficient way.

Product

Search emails with IMAP protocol

Automatically translated from English

Sometimes you need to find all of the unread emails on your mail server and download them to display them to your client. The searchMails method does it for you! It uses the IMAP search protocol which is done entirely on the server-side. This means that it’s fast and allows you to retrieve only the desired emails.

Product

Multiple instances of merged server applications on the same machine

Automatically translated from English

Hosting several 4D Server applications on the same machine is not unusual, especially for production and pre-production environments. But if your machine hosts merged server applications built with different 4D versions, which is the case if you use your pre-production server with the latest 4D version, you may encounter problems due to the shared 4D structure folder.

Let’s see how to resolve this issue.