Subscribe to this list via RSS Blog posts tagged in RAD Studio 10.2 Tokyo
FireDACの秘密:最後に挿入された自動生成IDとEnterprise Connectors この記事は Eli M. による Secrets Of FireDac: Last Inserted Auto Generated Id And Enterprise Connectors の抄訳です。  自動インクリメントフィールドがあるテーブルにデータを挿入するとき、一般的にはSQLクエリを使用して新しく作成されたレコードの最後に挿入されたIDを取得します。TFDQueryを使用してINSERTクエリを実行し、続いて、SELECTクエリを実行すれば、新しく挿入された自動インクリメントIDを取得できます。 異なるデータベースには、これを実現するために異なるSQLクエリがあります。 たとえば、MySQLには、LAST_INSERT_ID(例:SELECT LAST_INSERT_ID))という名前で実行できるSELECTクエリ関数があります。 このSELECT文を直接実行するか、FireDAC内蔵の機能を使用することができます。 FireDACには、GetLastAutoGenValueというTFDConnectionコンポーネントから呼び出すことのでき...
Secrets Of FireDac: Last Inserted Auto Generated Id And Enterprise Connectors A common pattern when inserting data into a database table which has an auto increment field set on it is to use an SQL query to select the last inserted ID of the newly created record. Once you use your TFDQuery to run your INSERT query you can run this second query to get the newly inserted auto increment ID. Different databases have different SQL queries to accomplish this. MySQL for example has a SELECT query function that you can run called LAST_INSERT_ID() (example: SELECT LAST_INSERT...
Free Field Service App Template Solution Quick Start Guide For Android, iOS, macOS, and Windows The RAD Server Field Service Template consists of three main components and a setup application (also check out the deep dive). The Field Service Admin app has been tested on Windows and macOS (but probably also runs on Android and iOS). The Field Service App has been tested on Android, iOS, macOS, and Windows. The Field Service Setup has been tested on Windows. The Field Service Server has been tested on Windows but may also run on Linux. This is an excerpt from the RAD Studio Field Service Tem...
Secrets Of FireDAC: Dynamic Where Clause Using Conditional Substitution Macros If you are using FireDAC and building your SQL queries manually you may be using more verbose code than is needed. FireDAC has a feature called Macros which allows you to do a variable substitution in your SQL query similar to parameter substitution but for raw SQL. However, in addition to macro substitution you can combine it with conditional substitutions which lets you do the real magic. If you are building your SQL query from scratch using strings you probably have some logic that decides w...
Tech Tip: How do I secure RAD Server for production deployment? Note: This is not a comprehensive security tutorial for RAD Server merely a tech tip. There are a number of sections in the emsserver.ini file which can help you secure your RAD Server for production which include Server.APICrossDomain, Console.Login, Server.Authorization. You can limit cross site scripting by changing the CrossDomain setting in Server.APICrossDomain to only allow your domains. You can customize the UserName and Password of the Console.Login section so that only you will b...

Posted by on in Blogs
RAD Studio 10.2.3リリースのお知らせ この記事は、Sarina DuPontによるAnnouncing the Release of RAD Studio 10.2.3の抄訳です。 このたび、Delphi / C++Builder / RAD Studio 10.2.3のリリースを発表致しました。10.2 Tokyo, Release 3(10.2.3)は、Delphi 10.2 Tokyo、C++Builder 10.2 Tokyo、RAD Studio 10.2 Tokyoのアップデートリリースとなります。 RAD Studio 10.2.3の主な新機能: CMakeコマンドラインサポート: CMakeは広く利用されているC++ビルドツールです。RAD Studio 10.2.3では、RAD Studioのコンパイラを使用してコマンドラインでCMakeプロジェクトを構築するためのサポートを提供します。特にCMakeでNinjaの使用もサポートされているため、高速な並列ビルドが可能です。 C++Builderリネームリファクタリング: C++リネームリファクタリングでは、コード...

Posted by on in Blogs
Migrating is easier than you think! As an Embarcadero Software Consultant, I’m often asked to help migrate legacy Delphi and C++ Builder code to the current versions. Developers have commented that their migrations were easier than they thought! Here are two recent Code Rage Sessions showing Migrating your C++Builder Projects to Unicode and another session on Delphi Application Migration. Migrating your C++Builder Projects to Unicode The Migrating your C++Builder Projects to Unicode session focused on helping you migrate yo...
Встречайте Tokyo, релиз 2! Год завершается хорошими новостями: во вторник 12 декабря было широко объявлено о выходе новой версии RAD Studio 10.2 Tokyo, Release 2. Это событие было предусмотрено планом развития продуктов Embarcadero roadmap, интрига была только в том, какие из дополнительных возможностей RAD Studio будут опубликованы в этом релизе. Релиз 2, он же Tokyo 10.2.2, является обновлением для Delphi 10.2 Tokyo, C++Builder 10.2 Tokyo и RAD Studio 10.2 Tokyo. Пользователи с активной подпиской на подд...
По следам вебинара "The Hospitality Survey EMS - пример многозвенного WEB-приложения на технологии RAD Server" В начале 2016 года мы провели серию вебинаров, на которых рассказали, как можно на практике быстро создать мобильную систему для сбора информации (Checklists) на примере точек розничной торговли. В том числе, было показано, как организовать данные и доступ к ним на мобильных устройствах и RAD-сервере. Эта тема оказалась востребованной не только в нашем регионе, но и в других странах. В дополнение к этому, пример, которому был посвящен последний вебинар, коснулся многих важных функций и решений, ...
Building Perfect REST APIs with RAD Server and Delphi REST API architecture has become the most popular approach for building scalable, secure, multi-user systems. Using RAD Server you can quickly publish your Delphi or C++ logic as HTTP REST API endpoints that can be used from any app and framework, including mobile, desktop and web clients. The upcoming 10.2.2 release of Delphi, C++Builder and RAD Studio in Enterprise and Architect versions for the first time will include single-site deployment license of RAD Server technology! In ...

Check out more tips and tricks in this development video: