{"id":121389,"date":"2024-03-24T02:18:46","date_gmt":"2024-03-23T17:18:46","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/"},"modified":"2024-04-04T10:09:24","modified_gmt":"2024-04-04T01:09:24","slug":"delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/","title":{"rendered":"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f"},"content":{"rendered":"<p>Delphi\u304b\u3089FastReport\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>Delphi\u3067FastReport\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>Report.Variables\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8\u306e\u5909\u6570\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u65b0\u3057\u3044\u5909\u6570\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001Report.Variables.Add \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>Report.Variables.Items\u3092\u4f7f\u7528\u3057\u3066\u6307\u5b9a\u5909\u6570\u3092\u53d6\u5f97<\/li>\n<li>\u5909\u6570\u306e\u5024\u306f\u3001Report.Variables.Items[index].Value\u307e\u305f\u306fReport.Variables.Items[name].Value\u3092\u4f7f\u7528\u3057\u3066\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>FastReport \u306e\u30ec\u30dd\u30fc\u30c8\u30c7\u30b6\u30a4\u30f3\u3067\u306f\u3001\u5909\u6570\u540d\u3092\u30e9\u30d9\u30eb\u3084\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306e\u5024\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u793a\u3057\u307e\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-comment\">\/\/ \u521b\u5efa\u4e00\u4e2aFastReport\u62a5\u8868<\/span>\r\nReport := TfrxReport.Create(<span class=\"hljs-keyword\">nil<\/span>);\r\nReport.LoadFromFile(<span class=\"hljs-string\">'report.fr3'<\/span>);\r\n<span class=\"hljs-comment\">\/\/ \u6dfb\u52a0\u4e00\u4e2a\u53d8\u91cf<\/span>\r\nReport.Variables.Add(<span class=\"hljs-string\">'Variable1'<\/span>);\r\n<span class=\"hljs-comment\">\/\/ \u8bbe\u7f6e\u53d8\u91cf\u7684\u503c<\/span>\r\nReport.Variables.Items[<span class=\"hljs-string\">'Variable1'<\/span>].Value := <span class=\"hljs-string\">'Hello World'<\/span>;\r\n<span class=\"hljs-comment\">\/\/ \u5728FastReport\u62a5\u8868\u8bbe\u8ba1\u4e2d\uff0c\u4f7f\u7528\u53d8\u91cf\u7684\u503c<\/span>\r\n<span class=\"hljs-comment\">\/\/ \u53ef\u4ee5\u5728\u6807\u7b7e\u6216\u6587\u672c\u6846\u4e2d\u4f7f\u7528 [$Variable1] \u6765\u663e\u793a\u53d8\u91cf\u7684\u503c<\/span>\r\n<span class=\"hljs-comment\">\/\/ \u9884\u89c8\u62a5\u8868<\/span>\r\nReport.ShowReport(True);\r\n<span class=\"hljs-comment\">\/\/ \u91ca\u653e\u62a5\u8868\u5bf9\u8c61<\/span>\r\nReport.Free;\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001FastReport\u3067\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3001\u300cVariable1\u300d\u3068\u3044\u3046\u5909\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u300cHello World\u300d\u3068\u3044\u3046\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u3042\u3068\u3001FastReport\u30ec\u30dd\u30fc\u30c8\u306e\u30c7\u30b6\u30a4\u30f3\u3067[$Variable1]\u3092\u4f7f\u7528\u3057\u3066\u3001\u5909\u6570\u306e\u5024\u3092\u8868\u793a\u3067\u304d\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001\u30ec\u30dd\u30fc\u30c8\u3092\u30d7\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u30ec\u30dd\u30fc\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30dd\u30fc\u30c8\u30c7\u30b6\u30a4\u30ca\u30fcFastReport\u306e\u5909\u6570\u306e\u540d\u524d\u306f\u3001Delphi\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3055\u308c\u308b\u5909\u6570\u306e\u540d\u524d\u3068\u4e00\u81f4\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delphi\u304b\u3089FastReport\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 Delphi\u3067FastReport\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 Report.Variables\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8\u306e\u5909\u6570\u306e\u30ea\u30b9\u30c8\u3092\u53d6 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-121389","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/delphi\u3067fastreport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\" \/>\n<meta property=\"og:description\" content=\"Delphi\u304b\u3089FastReport\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 Delphi\u3067FastReport\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 Report.Variables\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8\u306e\u5909\u6570\u306e\u30ea\u30b9\u30c8\u3092\u53d6 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/delphi\u3067fastreport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-23T17:18:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T01:09:24+00:00\" \/>\n<meta name=\"author\" content=\"\u685c, \u6625\u6a39\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u685c, \u6625\u6a39\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/\",\"name\":\"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-23T17:18:46+00:00\",\"dateModified\":\"2024-04-04T01:09:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341\",\"name\":\"\u685c, \u6625\u6a39\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g\",\"caption\":\"\u685c, \u6625\u6a39\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/delphi\u3067fastreport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\/","og_locale":"ja_JP","og_type":"article","og_title":"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f","og_description":"Delphi\u304b\u3089FastReport\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 Delphi\u3067FastReport\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 Report.Variables\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8\u306e\u5909\u6570\u306e\u30ea\u30b9\u30c8\u3092\u53d6 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/delphi\u3067fastreport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-23T17:18:46+00:00","article_modified_time":"2024-04-04T01:09:24+00:00","author":"\u685c, \u6625\u6a39","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u685c, \u6625\u6a39"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/","name":"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-23T17:18:46+00:00","dateModified":"2024-04-04T01:09:24+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Delphi\u3067FastReport\u306b\u5024\u3092\u6e21\u3059\u306b\u306f\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/ff22288af1a5455571aff7586b0fb341","name":"\u685c, \u6625\u6a39","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee48863f3d4fd7fef222498f3e71b82312aee42b7257a2dbde56394ca4e19de?s=96&d=mm&r=g","caption":"\u685c, \u6625\u6a39"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/sakuraharuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/delphi%e3%81%a7fastreport%e3%81%ab%e5%80%a4%e3%82%92%e6%b8%a1%e3%81%99%e3%81%ab%e3%81%af%ef%bc%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/121389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=121389"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/121389\/revisions"}],"predecessor-version":[{"id":269659,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/121389\/revisions\/269659"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=121389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=121389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=121389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}