When working on datasets in multiple languages or in a language other than English, you can encounter string values with accented letters (like : à, é, è, ï, …).
If your database controls have unicode support with no settings to tolerate accents, then filtering records can be kind complicated to find records containing diacritics and accented letters, as most users won’t pay attention when writing the filter pattern.
Continue reading “Remove accents and diacritical marks from letters in Delphi”
Sending mails from a client app is an interesting feature, it can be used for sending notifications or authentication codes. You can add this option to your Delphi (desktop and mobile) apps by calling a PHP web script through REST client.
Continue reading “Send mails from Delphi apps through PHP script”
Delphi FireDAC datasets offer a quick and easy sorting feature, through the property “IndexFieldNames” in which you list the field names to use as an index, and you can optionally specify sorting options for each field.
Continue reading “Sorting records in Delphi datasets”
It is common to make your Android apps able to launch and send data to external apps by using intents. But there are also situations when you want your Android app to only launch an external app without passing any data.
This tutorial will show you how to implement this feature :
Continue reading “Launch external apps from Delphi Android apps”
How to replace a string quickly in the whole dataset ? How to create a fast replace dialog for your app’s datasets ?
In this tutorial, we will explains the right procedure to implement a replace feature for your Delphi datasets.
Continue reading “Replace strings in Delphi dataset records”
Object Pascal units have two sections (interface and implementation), and as you can see in many source code, each section can have distinct items (uses, types, variables, and constants).
So, which section is suitable for putting a unit as uses ?
Continue reading “Difference between adding a unit to the interface or the implementation section”