{"id":8121,"date":"2026-07-31T10:15:58","date_gmt":"2026-07-31T01:15:58","guid":{"rendered":"https:\/\/www.agtech.co.jp\/blog\/?p=8121"},"modified":"2026-07-31T15:47:48","modified_gmt":"2026-07-31T06:47:48","slug":"tips15-integrating-fastreport-reports-into-apps","status":"publish","type":"post","link":"https:\/\/www.agtech.co.jp\/blog\/2026\/07\/tips15-integrating-fastreport-reports-into-apps\/","title":{"rendered":"\uff3bTips15\uff3dFastReport\u5e33\u7968\u306e\u30a2\u30d7\u30ea\u7d44\u307f\u8fbc\u307f"},"content":{"rendered":"<img loading=\"lazy\" class=\"center\" src=\"\/blog\/wp-content\/uploads\/2026\/07\/FR_Logo_TipsTop.png\" alt=\"\" width=\"200\" height=\"222\" class=\"alignnone size-full wp-image-8121\" \/>\r\n\r\n<h3>FastReport\u3067\u4f5c\u6210\u3057\u305f\u5e33\u7968\uff08.frx\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d44\u307f\u8fbc\u3080\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002<\/h3>\r\n\r\n<p style=\"margin-bottom: -10px; font-size: 1.7rem;\">\u3010\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u767a\u884c\u30a2\u30d7\u30ea\u3011<\/p>\r\n\r\n\t<ul>\r\n\t\t<li>\u7c21\u6613\u306a exe\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3067\u3001\u4f1d\u7968\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u7d0d\u54c1\u7528\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u3092\u751f\u6210\u3002\uff08\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306fCSV\u30d5\u30a1\u30a4\u30eb\uff09<\/li>\r\n\t\t<li>\u30a2\u30d7\u30ea\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u306b\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\uff08\u30ad\u30fc\u30c7\u30fc\u30bf.csv\uff09\u3068FastReport\u5e33\u7968\u30d5\u30a1\u30a4\u30eb\uff08\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u751f\u6210.frx\uff09\u3092\u914d\u7f6e\u3002<\/li>\r\n    \t<\/ul>\r\n\r\n\r\n\r\n\r\n<div class=\"two-column-block\">\r\n  <!-- \u5de6\u30ab\u30e9\u30e0 -->\r\n  <div class=\"column-item column-left\">\r\n<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2026\/07\/tips15-01.png\" alt=\"\" width=\"659\" height=\"274\" class=\"alignnone size-full wp-image-8459\" \/>\r\n  <\/div>\r\n\r\n  <!-- \u53f3\u30ab\u30e9\u30e0 -->\r\n  <div class=\"column-item column-right\">\r\n    <!-- \u672c\u6587\u3068\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3067\u8868\u793a\u3055\u308c\u308b\u30c6\u30ad\u30b9\u30c8 -->\r\n    <p class=\"column-title\">\u4f1d\u7968\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u3092\u51fa\u529b\u3059\u308b<\/p>\r\n    <!-- \u2605 style\u3092\u76f4\u63a5\u8a18\u8ff0\u3057\u3066\u5f37\u5236\u7684\u306b\u5e45\u3092\u5236\u5fa1\uff08300px\u90e8\u5206\u3067\u304a\u597d\u307f\u306e\u30b5\u30a4\u30ba\u306b\u8abf\u6574\u53ef\u80fd\uff09 -->\r\n    <img src=\"\/blog\/wp-content\/uploads\/2026\/07\/tips15-05.png\" alt=\"\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u767a\u884c\u30a2\u30d7\u30ea\" style=\"width: 350px !important; max-width: 100% !important; height: auto !important; display: block !important;\" \/>\r\n  <\/div>\r\n<\/div>\r\n\r\n<style>\r\n\/* 2\u5217\u4e26\u3073\u7528\u30b9\u30bf\u30a4\u30eb *\/\r\n.two-column-block {\r\n    display: flex;\r\n    gap: 20px;\r\n    align-items: flex-start; \/* \u4e0a\u7aef\u63c3\u3048 *\/\r\n    margin-bottom: 20px;\r\n}\r\n\r\n\/* \u5de6\u30ab\u30e9\u30e0 *\/\r\n.two-column-block .column-left {\r\n    flex: 1;\r\n    min-width: 0;\r\n}\r\n\r\n\/* \u53f3\u30ab\u30e9\u30e0 *\/\r\n.two-column-block .column-right {\r\n    flex: 0 0 auto;\r\n}\r\n\r\n\/* \u2605 \u5de6\u5074\u306e\u753b\u50cf\u4e0a\u7aef\u3092\u30c6\u30ad\u30b9\u30c8\u306e1\u884c\u76ee\u3068\u3074\u3063\u305f\u308a\u63c3\u3048\u308b\u8abf\u6574 *\/\r\n.two-column-block .column-left img {\r\n    width: 100%;\r\n    max-width: 100%;\r\n    height: auto;\r\n    display: block;\r\n    margin-top: 4px; \/* \u30c6\u30ad\u30b9\u30c8\u306e\u6587\u5b57\u306e\u982d\uff08\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\uff09\u3068\u753b\u50cf\u306e\u5929\u9762\u3092\u7f8e\u3057\u304f\u63c3\u3048\u308b\u5fae\u8abf\u6574 *\/\r\n}\r\n\r\n\/* \u53f3\u5074\u306e\u30c6\u30ad\u30b9\u30c8\u6307\u5b9a *\/\r\n.two-column-block .column-title {\r\n    margin-top: 0 !important; \/* \u30c6\u30ad\u30b9\u30c8\u4e0a\u306e\u4f59\u767d\u3092\u30ea\u30bb\u30c3\u30c8 *\/\r\n    margin-bottom: 10px;\r\n    white-space: nowrap;\r\n    line-height: 1.2; \/* \u30c6\u30ad\u30b9\u30c8\u306e\u9ad8\u3055\u3092\u30b9\u30c3\u30ad\u30ea\u6574\u3048\u308b *\/\r\n}\r\n\r\n\/* \u30b9\u30de\u30db\uff08600px\u4ee5\u4e0b\uff09\u306e\u6642\u306f\u7e26\u4e26\u3073\u306b\u81ea\u52d5\u5207\u308a\u66ff\u3048 *\/\r\n@media screen and (max-width: 600px) {\r\n    .two-column-block {\r\n        flex-direction: column;\r\n    }\r\n    .two-column-block .column-left,\r\n    .two-column-block .column-right {\r\n        width: 100%;\r\n    }\r\n    .two-column-block .column-left img {\r\n        margin-top: 0;\r\n    }\r\n    .two-column-block .column-title {\r\n        white-space: normal;\r\n    }\r\n    .two-column-block .column-right img {\r\n        width: 100% !important;\r\n    }\r\n}\r\n<\/style>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t<p>\u30a2\u30d7\u30ea\u306e\u30e1\u30a4\u30f3\u30d7\u30ed\u30b0\u30e9\u30e0\u306bFastReport\u5e33\u7968\u30d5\u30a1\u30a4\u30eb.frx \u3068 \u30c7\u30fc\u30bf\u30bd\u30fc\u30b9.csv \u306e\u30d1\u30b9\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<div class=\"white-code-block\">\r\n<style>\r\n\/* \u3053\u306e\u30d6\u30ed\u30c3\u30af\u5185\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\uff08Copy \/ Extern\uff09\u306e\u307f\u975e\u8868\u793a *\/\r\n.white-code-block .enlighter-toolbar {\r\n    display: none !important;\r\n}\r\n<\/style>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-linenumbers=\"false\">\r\nusing System.Data;\r\nusing System.Text;\r\nusing FastReport;\r\nusing FastReport.Data;\r\nusing FastReport.Export.Pdf;\r\n\r\nnamespace LicenseCertApp;\r\n\r\npublic partial class MainForm : Form\r\n{\r\n    \/\/ \u5e33\u7968\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068 CSV \u306e\u914d\u7f6e\u30d1\u30b9\uff08\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\uff09\r\n    private static readonly string FrxPath =\r\n        Path.Combine(AppDomain.CurrentDomain.BaseDirectory, \"\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u751f\u6210.frx\");\r\n    private static readonly string CsvPath =\r\n        Path.Combine(AppDomain.CurrentDomain.BaseDirectory, \"\u30ad\u30fc\u30c7\u30fc\u30bf.csv\");\r\n}\r\n<\/pre>\r\n<\/div>\r\n\r\n\r\n\t<p>\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u8aad\u307f\u8fbc\u307f\u3068\u6307\u5b9a\u3057\u305f\u4f1d\u7968\u756a\u53f7\u306e\u62bd\u51fa\u3001\u305d\u306e\u4ed6\u30a8\u30e9\u30fc\u5236\u5fa1\u306a\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3042\u3068\u3001Load\u30b3\u30de\u30f3\u30c9\uff08.frx\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30c9\uff09\u3001\u304a\u3088\u3073Show\u30b3\u30de\u30f3\u30c9\uff08\u30d7\u30ec\u30d3\u30e5\u30fc\uff09\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\r\n\r\n\r\n<div class=\"white-code-block\">\r\n<style>\r\n\/* \u3053\u306e\u30d6\u30ed\u30c3\u30af\u5185\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\uff08Copy \/ Extern\uff09\u306e\u307f\u975e\u8868\u793a *\/\r\n.white-code-block .enlighter-toolbar {\r\n    display: none !important;\r\n}\r\n<\/style>\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-linenumbers=\"false\">\r\n{\r\n    using var report = new Report();\r\n    report.Load(FrxPath);\r\n    report.Show();\r\n}\r\n<\/pre>\r\n<\/div>\r\n\r\n\t<p>\u30a2\u30d7\u30ea\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3059\u308b\u3068\u3001FastReport\u5e33\u7968\u304c\u30d7\u30ec\u30d3\u30e5\u30fc\u3055\u308c\u307e\u3059\u3002<\/p>\r\n\r\n\t<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2026\/07\/tips15-04.png\" alt=\"\" width=\"454\" height=\"589\" class=\"alignnone size-full wp-image-8144\" \/>","protected":false},"excerpt":{"rendered":"FastReport\u3067\u4f5c\u6210\u3057\u305f\u5e33\u7968\uff08.frx\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u7d44\u307f\u8fbc\u3080\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002 \u3010\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u767a\u884c\u30a2\u30d7\u30ea\u3011 \u7c21\u6613\u306a exe\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3067\u3001\u4f1d\u7968\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u7d0d\u54c1\u7528\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u8a3c\u66f8\u3092\u751f\u6210\u3002\uff08\u30c7\u30fc\u30bf [&hellip;]","protected":false},"author":1,"featured_media":8020,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"product":[102,97],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/8121"}],"collection":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=8121"}],"version-history":[{"count":4,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/8121\/revisions"}],"predecessor-version":[{"id":8164,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/8121\/revisions\/8164"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media\/8020"}],"wp:attachment":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=8121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=8121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=8121"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/product?post=8121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}